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
or
Date
as a minimal absolute date/time
String
.
Argument |
Description |
dateOrString |
The date/time
String
or
Date
to format. |
Return Values |
Returns
String
.
|