aws

Amazon Web Services SDK
IN THIS PACKAGE
Module Aws . Time
val parse : string -> CalendarLib.Calendar.t

Produce a Calendar.t from a string formatted like 2013-05-24T21:15:31.000Z. Note that .000Z (or any milliseconds) are truncated.

Raises 'Invalid_argument' if the string does not match the format.

val date_time_iso8601 : CalendarLib.Calendar.t -> string
val now_utc : unit -> CalendarLib.Calendar.t
val format : CalendarLib.Calendar.t -> string

Formats a Calendar.t as 2013-05-24T21:15:31.000Z. Note that .000Z is always appended.