package odate

  1. Overview
  2. Docs

Parameters

module C : Clock

Signature

type t
val compare : t -> t -> int
val to_human : ?tz:tz -> t -> human_readable
val from_human : ?tz:tz -> human_readable -> t
val now : unit -> t
val now_milliseconds : unit -> float
val get_std_timezone : unit -> tz_internal
val get_dst_timezone : t -> tz_internal
val add : t -> float -> t
val from_seconds : float -> t
val to_seconds : t -> float
OCaml

Innovation. Community. Security.