The out-of-protocol view of in-protocol timestamps. The precision of in-protocol timestamps are only precise to the second.
Note that the out-of-protocol view does not necessarily match the in-protocol representation.
val epoch : t
Unix epoch is 1970-01-01 00:00:00 +0000 (UTC)
diff a b is the number of seconds between
b. It is negative if
b is later than
Conversions to and from string representations.
val of_notation : string -> t option
val of_notation_exn : string -> t
val to_notation : t -> string
Conversion to and from "number of seconds since epoch" representation.
val of_seconds : int64 -> t
val to_seconds : t -> int64