DateTime
Date and time parsing and conversion.
-
.parse(string) -
Parse the given string and return associated
Date.Argument Description stringThe date/time String.Return Values Returns Dateor null. -
.format(dateOrString) -
Format the given date/time
StringorDateas a minimal absolute date/timeString.Argument Description dateOrStringThe date/time StringorDateto format.Return Values Returns String.