AVR Libc Home Page | AVR Libc Development Pages | ||||
Main Page | User Manual | Library Reference | FAQ | Alphabetical Index | Example Projects |
Data Fields | |
int8_t | tm_sec |
int8_t | tm_min |
int8_t | tm_hour |
int8_t | tm_mday |
int8_t | tm_wday |
int8_t | tm_mon |
int16_t | tm_year |
int16_t | tm_yday |
int16_t | tm_isdst |
The tm structure contains a representation of time 'broken down' into components of the Gregorian calendar.
The normal ranges of the elements are..
The value of tm_isdst is zero if Daylight Saving Time is not in effect, and is negative if the information is not available. When Daylight Saving Time is in effect, the value represents the number of seconds the clock is advanced. See the set_dst() function for more information about Daylight Saving.