module Cpdfstrftime:sig
..end
C-style strftime
Supports the following format specifiers: %a %A %b %B %s %e %H %I %j %m %M %p %S %T %u %w %Y %%
type
t = {
|
_tm_sec : |
|
_tm_min : |
|
_tm_hour : |
|
_tm_mday : |
|
_tm_mon : |
|
_tm_year : |
|
_tm_wday : |
|
_tm_yday : |
|
_tm_isdst : |
}
Our version of Unix's tm, so Unix not required
val current_time : unit -> t
Get the time now
val dummy : t
A dummy time value
val strftime : ?time:t -> string -> string
Strftime. If time omitted, the current time is used.