2 int tm_sec; /* seconds after the minute - [0,59] */
3 int tm_min; /* minutes after the hour - [0,59] */
4 int tm_hour; /* hours since midnight - [0,23] */
5 int tm_mday; /* day of the month - [1,31] */
6 int tm_mon; /* months since January - [0,11] */
7 int tm_year; /* years since 1900 */
8 int tm_wday; /* days since Sunday - [0,6] */
9 int tm_yday; /* days since January 1 - [0,365] */
10 int tm_isdst; /* daylight savings time flag */
13 #define CLOCKS_PER_SEC 1000
15 /* Function prototypes */
17 char * asctime(const struct tm *);
18 char * ctime(const time_t *);
20 double difftime(time_t, time_t);
21 struct tm * gmtime(const time_t *);
22 struct tm * localtime(const time_t *);
23 time_t mktime(struct tm *);
24 size_t strftime(char *, size_t, const char *,const struct tm *);
25 /* not implemented under iso-c
26 * char * _strdate(char *);
27 * char * _strtime(char *);
29 time_t time(time_t *);