tm
Contents
Detailed Description
The tm structure contains a representation of time 'broken down' into components of the Gregorian
calendar.
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.
Field Documentation
int8_ttm::tm_hour
hours since midnight - [ 0 to 23 ]
int16_ttm::tm_isdst
Daylight Saving Time flag
int8_ttm::tm_mday
day of the month - [ 1 to 31 ]
int8_ttm::tm_min
minutes after the hour - [ 0 to 59 ]
int8_ttm::tm_mon
months since January - [ 0 to 11 ]
int8_ttm::tm_sec
seconds after the minute - [ 0 to 59 ]
int8_ttm::tm_wday
days since Sunday - [ 0 to 6 ]
int16_ttm::tm_yday
days since January 1 - [ 0 to 365 ]
int16_ttm::tm_year
years since 1900
Name
tm
Synopsis
#include <time.h>
DataFieldsint8_ttm_secint8_ttm_minint8_ttm_hourint8_ttm_mdayint8_ttm_wdayint8_ttm_monint16_ttm_yearint16_ttm_ydayint16_ttm_isdst