Module Clock.Time

module Time: sig .. end
Time.t represents a given timestamp (ie. number of seconds since 1970-01-01 00:00:00 UTC.

val print_date : bool Batteries.ref
When displaying a time, print also the corresponding date. Only useful if your simulation spans several days, which is uncommon.
include struct ... end
val add : t -> Clock.Interval.t -> t
Adds a time and an interval.
val sub : t -> t -> Clock.Interval.t
Substract two time and returns an interval.
val wall_clock : unit -> t
Get the current wall clock (through ).
val to_ints : t -> int * int
Convert a timestamp to a pair of ints with seconds, microseconds