# tm - [Overview](#section213291014165637) - [Summary](#section2100853605165637) - [Data Fields](#pub-attribs) - [Details](#section1912810085165637) - [Field](#section627624112165637) - [\_\_tm\_gmtoff](#ab077b3fcacf0aa575918483856c9cc7c) - [\_\_tm\_zone](#ada643d899220f1284814158a9efaf0f0) - [tm\_hour](#a3e7ca4e37f1abcaf56b8a916c38eb9fe) - [tm\_isdst](#a5645ca0580c8ab2c24f6c2965d9c9f9c) - [tm\_mday](#ab8d8904bad43b0c8b96e61941c5b5310) - [tm\_min](#af414eb7c86cc3099595211eee4d4211b) - [tm\_mon](#a112ac36fa2f593777138a417cf031e17) - [tm\_sec](#a4d098a9a5c03a00b2ee61e10851de81e) - [tm\_wday](#afe81a8c46f1c693c43f259b288859f4f) - [tm\_year](#a33adf78fd6476b2120ce3b9c4a852053) ## **Overview** **Related Modules:** [TIME](TIME.md) **Description:** Describes date and time information. ## **Summary** ## Data Fields

Variable Name

Description

tm_sec

int

tm_min

int

tm_hour

int

tm_mday

int

tm_mon

int

tm_year

int

tm_wday

int

tm_isdst

int

__tm_gmtoff

long

__tm_zone

const char *

## **Details** ## **Field ** ## \_\_tm\_gmtoff ``` long tm::__tm_gmtoff ``` **Description:** Seconds east of UTC ## \_\_tm\_zone ``` const char* tm::__tm_zone ``` **Description:** Time zone ## tm\_hour ``` int tm::tm_hour ``` **Description:** Hour. The value ranges from 0 to 23. ## tm\_isdst ``` int tm::tm_isdst ``` **Description:** Daylight saving time \(DST\) ## tm\_mday ``` int tm::tm_mday ``` **Description:** Day. The value ranges from 1 to 31. ## tm\_min ``` int tm::tm_min ``` **Description:** Minute. The value ranges from 0 to 59. ## tm\_mon ``` int tm::tm_mon ``` **Description:** Month. The value ranges from 0 to 11. ## tm\_sec ``` int tm::tm_sec ``` **Description:** Second. The value ranges from 0 to 60. ## tm\_wday ``` int tm::tm_wday ``` **Description:** Week. The value ranges from 0 to 6. The value **0** indicates Sunday, the value **1** indicates Monday, and so on. ## tm\_year ``` int tm::tm_year ``` **Description:** Year. The value is the actual year minus 1900.