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
clk/clktm.h@73:286a739f7c05, 2020-02-27 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Feb 27 13:02:18 2020 +0000
- Revision:
- 73:286a739f7c05
- Parent:
- 57:4daf2e423b27
Added a method to allow the UTC offset to be changed with a corresponding adjustment to TAI so that the resulting UTC time was not changed. This was used in the clock web page.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 26:0421132e6eaf | 1 | #include <time.h> |
| andrewboyson | 26:0421132e6eaf | 2 | #include <stdint.h> |
| andrewboyson | 26:0421132e6eaf | 3 | |
| andrewboyson | 57:4daf2e423b27 | 4 | extern void ClkTimeToTmLocal(clktime time, struct tm* ptm); |
| andrewboyson | 57:4daf2e423b27 | 5 | extern void ClkTimeToTmUtc (clktime time, struct tm* ptm); |
| andrewboyson | 57:4daf2e423b27 | 6 | extern clktime ClkTimeFromTmUtc( struct tm* ptm); |