Ptime has platform independent support for POSIX time. It provides a type to represent a well-defined range of POSIX timestamps with picosecond precision, conversion with date-time values, conversion with RFC 3339 timestamps and pretty printing to a human-readable, locale-independent representation.
Ptime is not a calendar library.
Ptime POSIX time values.
Ptime_clock POSIX time clock.