|
CX Framework
Cross-platform C utility framework
|
Modules | |
| Clock Functions | |
| Time Manipulation | |
| Time Unit Conversion | |
Macros | |
| #define | timeForever 9223372036854775807LL |
| Maximum representable time value (approximately year 294,276 CE) | |
| #define | timeS(s) timeFromSeconds(s) |
| #define | timeMS(ms) timeFromMsec(ms) |
CX and related systems represent time as the number of microseconds since noon on January 1, 4713 BCE (UTC) - the Julian date epoch.
This provides an unambiguous time representation that:
The time system includes:
| #define timeMS | ( | ms | ) | timeFromMsec(ms) |
| #define timeS | ( | s | ) | timeFromSeconds(s) |