diff options
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/timefuncs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index 45978f4..52d4608 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h @@ -29,6 +29,8 @@ struct tm *get_time(void); int set_time(const struct tm *tm); bool valid_time(const struct tm *tm); +int day_of_week(int m, int d, int y); +void yearday_to_daymonth(int yd, int y, int *d, int *m); #if CONFIG_RTC time_t mktime(struct tm *t); #endif |