logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_DateTime - A structure holding a calendar date and time broken down into its components.

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                SDL_DateTime(3type)

Header File

       Defined in SDL3/SDL_time.h

Name

       SDL_DateTime - A structure holding a calendar date and time broken down into its components.

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_DateTime{intyear;/**<Year*/intmonth;/**<Month[01-12]*/intday;/**<Dayofthemonth[01-31]*/inthour;/**<Hour[0-23]*/intminute;/**<Minute[0-59]*/intsecond;/**<Seconds[0-60]*/intnanosecond;/**<Nanoseconds[0-999999999]*/intday_of_week;/**<Dayoftheweek[0-6](0beingSunday)*/intutc_offset;/**<SecondseastofUTC*/}SDL_DateTime;

See Also