Standard C time handling functions. More...
Go to the source code of this file.
Data Structures | |
struct | _tm |
structure to store a date/time value. More... | |
Typedefs | |
typedef struct _tm | tm |
Type definition for struct _tm. | |
typedef long | time_t |
Serial date/time. Holds number of seconds after January 1st, 1970. | |
Functions | |
time_t | time (time_t *timer) |
Get the system time. | |
int | gmtime_r (CONST time_t *timer, tm *ptm) |
Convert a time value to a structure. | |
tm * | gmtime (CONST time_t *timer) |
Convert a time value to a structure. | |
int | localtime_r (CONST time_t *timer, tm *ptm) |
Convert a time value and correct for the local time zone. | |
tm * | localtime (CONST time_t *timer) |
Convert a time value and correct for the local time zone. | |
int | stime (time_t *timer) |
Set the system time. | |
time_t | mktime (tm *timeptr) |
Convert the local time to a calendar value. | |
time_t | _mkgmtime (tm *timeptr) |
Variables | |
int | _daylight |
Used to control daylight conversions. | |
long | _timezone |
Defines your local timezone. | |
long | _dstbias |
Difference between standard and daylight savings time in seconds. |
Standard C time handling functions.
Definition in file time.h.