DateTime
Date and time parsing and conversion.
-
.parse(string)
-
Parse the given string and return associated
Date
.Argument Description string
The date/time String
.Return Values Returns Date
or null. -
.format(dateOrString)
-
Format the given date/time
String
orDate
as a minimal absolute date/timeString
.Argument Description dateOrString
The date/time String
orDate
to format.Return Values Returns String
.