Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: time.h
- 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