|
| int | tm_sec |
| | Seconds, in the range 0–60 (to account for leap seconds).
|
| int | tm_min |
| | Minutes, in the range 0–59.
|
| int | tm_hour |
| | Hours, in the range 0–23.
|
| int | tm_mday |
| | Day of the month, in the range 1–31, or less if the month has fewer than 31 days.
|
| int | tm_mon |
| | Month of the year, in the range 0–11.
|
| int | tm_year |
| | Year, as an offset from 1900 (so, for example, 2023 is 123).
|
| int | tm_wday |
| | Day of the week, in the range 0–6.
|
| int | tm_yday |
| | Day of the year, in the range 0–365 (0–364 if this is not a leap year).
|
| int | tm_isdst |
| | Daylight savings flag.
|
Structure representing a date in the Gregorian calendar.
This is intended to be compatible with C/POSIX, not all fields are used by all APIs.
Definition at line 140 of file time.h.