timeptr Field Value
tm_hour Hours since midnight (0 ? 23)
tm_isdst Positive if daylight saving time is in effect; 0 if daylight saving time is not in effect; negative if status of daylight saving time is unknown. The C run-time library assumes the United States’s rules for implementing the calculation of Daylight Saving Time (DST).
tm_mday Day of month (1 ? 31)
tm_min Minutes after hour (0 ? 59)
tm_mon Month (0 ? 11; January = 0)
tm_sec Seconds after minute (0 ? 59)
tm_wday Day of week (0 ? 6; Sunday = 0)
tm_yday Day of year (0 ? 365; January 1 = 0)
tm_year Year (current year minus 1900)