ptime

Author Daniel Bünzli <daniel.buenzl i@erratique.ch>
License ISC
Homepage http://erratique.ch/software/ptime
Issue Tracker https://github.com/dbuenzli/ptime/issues
Tags { time, posix, system, org:erratique }
Maintainer Daniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
& ocamlbuild
ocamlfind
result
topkg
Optional dependencies
js_of_ocaml
Available ocaml-version >= "4.01.0"
Published Feb 5, 2017
Source [http] http://erratique.ch/software/ptime/releases/ptime-0.8.3.tbz
bf84f6bfedce30349cffc9eb52ac7574
Statistics Installed 129 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/ptime/ptime.0.8.3/opam

POSIX time for OCaml

Ptime has platform independent POSIX time support in pure OCaml. 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.

The additional Ptime_clock library provides access to a system POSIX clock and to the system's current time zone offset.

Ptime is not a calendar library.

Ptime depends on the result compatibility package. Ptime_clock depends on your system library. Ptime_clock's optional JavaScript support depends on js_of_ocaml. Ptime and its libraries are distributed under the ISC license.