39 #define LEAP_YEAR(year) ((year%4)==0) low lever real time clock handler.
unsigned char tm_mon
Definition: time.h:52
struct tm * gmtime(time_t *timep)
Definition: time.c:85
unsigned char tm_sec
Definition: time.h:44
int tm_year
Definition: time.h:54
time_t time(time_t *t)
Definition: time.c:49
time_t mktime(struct tm *timeptr)
Definition: time.c:146
time_t gettimeofday(void)
Definition: time.c:44
void settimeofday(const time_t seconds)
Definition: time.c:39
unsigned char tm_hour
Definition: time.h:48
unsigned char tm_min
Definition: time.h:46
char * asctime(struct tm *timeptr)
Definition: time.c:71
unsigned long time_t
Definition: time.h:62
int tm_yday
Definition: time.h:58
char * ctime(time_t *timep)
Definition: time.c:141
unsigned char tm_wday
Definition: time.h:56
unsigned char tm_mday
Definition: time.h:50