blob: d29fd8b51140cbcdf9b85851f456c00e9d032229 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{0 Ptime {%html: <span class="version">v1.1.0</span>%}}
{!Ptime} has platform independent support for POSIX time. It provides
a {{!Ptime.t}type} to represent a well-defined range of POSIX
timestamps with picosecond precision, conversion with
{{!Ptime.date_time}date-time values}, conversion with
{{!Ptime.rfc3339}RFC 3339 timestamps} and {{!Ptime.print}pretty
printing} to a human-readable, locale-independent
representation. {!Ptime} is not a calendar library.
{!Ptime_clock} provides access to a
{{!Ptime_clock.platform_support}system POSIX clock} and the system's
current time zone offset.
{1:ptime Library [ptime]}
{!modules: Ptime}
{1:ptime_clock Library [ptime.clock.os]}
{!modules: Ptime_clock}
Also use this library for compiling to JavaScript.
|