7 unsigned char tm_sec; /* Seconds. [0-60] */
8 unsigned char tm_min; /* Minutes. [0-59] */
9 unsigned char tm_hour; /* Hours. [0-23] */
10 unsigned char tm_mday; /* Day. [1-31] */
11 unsigned char tm_mon; /* Month. [0-11] */
12 int tm_year; /* Year since 1900 */
13 unsigned char tm_wday; /* Day of week. [0-6] */
14 int tm_yday; /* Days in year.[0-365] */
15 unsigned char tm_isdst; /* Daylight saving time */
16 unsigned char tm_hundredth; /* not standard 1/100th sec */
21 int tm_sec; /* Seconds. [0-60] */
22 int tm_min; /* Minutes. [0-59] */
23 int tm_hour; /* Hours. [0-23] */
24 int tm_mday; /* Day. [1-31] */
25 int tm_mon; /* Month. [0-11] */
26 int tm_year; /* Year since 1900 */
27 int tm_wday; /* Day of week. [0-6] */
28 int tm_yday; /* Days in year.[0-365] */
29 int tm_isdst; /* Daylight saving time */
30 char *tm_zone; /* Abbreviated timezone */
34 typedef unsigned long time_t;
36 time_t time(time_t *t);
37 struct tm *gmtime(time_t *timep);
38 struct tm *localtime(time_t *timep);
39 time_t mktime(struct tm *timeptr);
40 char *asctime(struct tm *timeptr);
41 char *ctime(time_t *timep);