Up

Module Extended_date

Signature

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"