// date.h // Date and time functions int gregdayofweek(int AD, int MONTH, int DATE); ulong secssince1904(int YEAR, int MONTH, int DATE, int HOUR); ulong currentgmt(void); void incrementtime(ulong *TIME, char UNIT, long NUM, bool Round); // Date and time strings string timestring(ulong TIME); string datestring(ulong TIME, bool WeekDay); // Parsing date strings bool parseepoch(const char *S, ulong *TIME); bool parsejuliandate(const char *S, ulong *TIME); bool parsenoraddate(const char *S, ulong *TIME);