module Kwtime:sig
..end
See: Misha Wolf and Charles Wicksteed, Date and Time Formats, September 15, 1997
Author(s): Keith Waclena
exception Parse_error of string
strftime
or convert
's format stringexception NYI of string
strftime
%-escape is Not Yet Implementedval weekdayname : int -> string
val monthname : int -> string
val convert : ?tz:int * int -> Unix.tm -> char -> string
Parse_error
for an invalid escape characterNYI
for %-escapes that are Not Yet Implemented: 'U'
, 'V'
, 'W'
, and 'Z'
, 'z'
if tz = None
tz
: time zone as (hours,minutes)
offset from zuluval localtime : unit -> Unix.tm
localtime ()
: return the localtime for nowval tz : unit -> int * int
tz ()
: return local timezone as (hours,minutes)
offset from zulu.val strftime : ?tz:int * int -> string -> Unix.tm -> string
Bugs:
%U %V %W
escapes are Not Yet Implemented and raise NYI
Parse_error
for an invalid format stringNYI
for %-escapes that are Not Yet Implemented: 'U'
, 'V'
, 'W'
tz
: time zone as (hours,minutes)
offset from zuluval w3c : string