blob: 067d54f3c191d7ced1b7bfd8b464a1735f3be311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <time.h>
/** broken-down time **/
struct tm {
int tm_sec; /* Seconds [0,60] */
int tm_min; /* Minutes [0, 59] */
int tm_hour; /* Hour [0,23] */
int tm_mday; /* Day of the month [1,31] */
int tm_mon; /* Month of the year [0,11] */
int tm_year; /* Years since 1900 */
int tm_wday; /* Day of the week [0,6] (Sunday = 0) */
int tm_yday; /* Day of the year [0,365] */
int tm_isdst; /* Daylight Saving Time flag */
};
/***
is used to represent time broken down into its individual components.
***/
/*
STDC(1)
*/
|