// datetime.h // Date and time functions int gregdayofweek(int AD, int MONTH, int DATE); SInt64 secssincedatum(int YEAR, int MONTH, int DATE, int HOUR); SInt64 currentgmt(void); void incrementtime(SInt64 *TIME, char UNIT, long NUM, bool Round); // Date and time strings string timestring(SInt64 TIME); string datestring(SInt64 TIME, bool WeekDay); // Parsing date strings bool parseepoch(const char *S, SInt64 *TIME); // expects a year with ".0" bool parsejuliandate(const char *S, SInt64 *TIME); // expects ".5" for midnight bool parsenoraddate(const char *S, SInt64 *TIME);