table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.24+ds-1
- unstable 3.2.26+ds-1
- experimental 3.3.2+git20251029~d9ca045+ds-1
| SDL_DateTime(3type) | SDL3 DATATYPES | SDL_DateTime(3type) |
NAME¶
SDL_DateTime - A structure holding a calendar date and time broken down into its components.
SYNOPSIS¶
#include <SDL3/SDL_time.h>
typedef struct SDL_DateTime
{
int year; /**< Year */
int month; /**< Month [01-12] */
int day; /**< Day of the month [01-31] */
int hour; /**< Hour [0-23] */
int minute; /**< Minute [0-59] */
int second; /**< Seconds [0-60] */
int nanosecond; /**< Nanoseconds [0-999999999] */
int day_of_week; /**< Day of the week [0-6] (0 being Sunday) */
int utc_offset; /**< Seconds east of UTC */
} SDL_DateTime;
AVAILABILITY¶
This struct is available since SDL 3.2.0.
| SDL 3.2.26 | Simple Directmedia Layer |