SDL_DateTime - A structure holding a calendar date and time broken down into its components.
Contents
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;