Module GoogleApps.Date
Standard JavaScript Date
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
val now : unit -> t
val get_day : t -> int
- returns
day of the week (0-6)
val get_full_year : t -> int
- returns
year (4 digits)
val get_month : t -> int
- returns
month (0-11)
val get_date : t -> int
- returns
day of the month (1-31)
val get_hours : t -> int
- returns
hour (0-23)
val get_minutes : t -> int
- returns
minutes (0-59)
val get_seconds : t -> int
- returns
seconds (0-59)