SDL 3.0
|
#include <SDL_time.h>
Data Fields | |
int | year |
int | month |
int | day |
int | hour |
int | minute |
int | second |
int | nanosecond |
int | day_of_week |
int | utc_offset |
A structure holding a calendar date and time broken down into its components.
Definition at line 43 of file SDL_time.h.
int SDL_DateTime::day |
Day of the month [01-31]
Definition at line 47 of file SDL_time.h.
int SDL_DateTime::day_of_week |
Day of the week [0-6] (0 being Sunday)
Definition at line 52 of file SDL_time.h.
int SDL_DateTime::hour |
Hour [0-23]
Definition at line 48 of file SDL_time.h.
int SDL_DateTime::minute |
Minute [0-59]
Definition at line 49 of file SDL_time.h.
int SDL_DateTime::month |
Month [01-12]
Definition at line 46 of file SDL_time.h.
int SDL_DateTime::nanosecond |
Nanoseconds [0-999999999]
Definition at line 51 of file SDL_time.h.
int SDL_DateTime::second |
Seconds [0-60]
Definition at line 50 of file SDL_time.h.
int SDL_DateTime::utc_offset |
Seconds east of UTC
Definition at line 53 of file SDL_time.h.
int SDL_DateTime::year |
Year
Definition at line 45 of file SDL_time.h.