NesDatetimeval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval to_string : t -> stringPrints the date and time as an ISO 8601 string.
val now : unit -> tReturns the current date and time.
val make_in_the_past : float -> tMake a datetime in the past by the given number of seconds.
val make_in_the_future : float -> tMake a datetime in the future by the given number of seconds.
val in_the_past : t -> boolWhether the given datetime is in the past.