Members of the tm Structure - C Data Type

C examples for Data Type:Date Time

Introduction

MemberDescription
tm_secSeconds (0 to 60) after the minute on 24-hour clock. This value goes up to 60 for positive leap-second support.
tm_minMinutes after the hour on 24-hour clock (0 to 59)
tm_hour The hour on 24-hour clock (0 to 23)
tm_mday Day of the month (1 to 31)
tm_monMonth (0 to 11)
tm_year Year (current year minus 1900)
tm_wday Weekday (Sunday is 0; Saturday is 6)
tm_yday Day of year (0 to 365)
tm_isdst Daylight saving flag. Positive for daylight saving time, 0 for not daylight saving time, negative for not known.

Related Tutorials