Andrew Boyson / clock

Dependents:   oldheating gps motorhome heating

Revision:
26:0421132e6eaf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/time.h	Thu Jan 25 07:54:54 2018 +0000
@@ -0,0 +1,11 @@
+#include <time.h>
+#include <stdint.h>
+
+extern void   TimeTmUtcToLocal(struct tm* ptm);
+
+extern void   TimeAsciiDateTimeToTm(const char* pDate, const char* pTime, struct tm* ptm);
+extern void   TimeToTmLocal(uint32_t time, struct tm* ptm);
+extern void   TimeToTmUtc(uint32_t time, struct tm* ptm);
+
+extern time_t TimeFromTmUtc(struct tm* ptm);
+extern int    TimePeriodBetween(struct tm* ptmLater, struct tm* ptmEarlier);
\ No newline at end of file