Up

module Extended_time

: sig
#
module Extended_date : sig
#
val format : ?ofday:Core.Std.Time.Ofday.t -> string -> Core.Std.Date.t -> string

Shortcut for calling Core_extended.Unix.strftime without having to create a Time.t and convert it to a Unix.tm.

format "%Y-%m-%d" t will return "YYYY-MM-DD"

end
#
module Extended_span : sig
#
val to_string_hum : Core.Std.Time.Span.t -> string

Convert a time span to a human-readable string, e.g. "1:23:45.778" (versus "1.396h" from Time.Span.to_string).

end
end