luxos/SysCore/include/time.h

25 lines
424 B
C
Raw Normal View History

2021-09-14 15:34:14 +00:00
#ifndef __TIME_C
#define __TIME_C
extern const char* clock_months[13];
extern const char* clock_weekdays[8];
extern byte clock_months_len[13];
typedef struct {
byte seconds;
byte minutes;
byte hours;
byte weekday;
byte day;
byte month;
byte year;
byte century;
byte am_pm;
} TIME;
extern void _CLOCK_INC(TIME *tim);
//extern char* asctime (TIME time);
#endif