ParseDateTime
Last updated
Last updated
Parses a datetime string or object
Argument | Type | Required | Description | Default |
---|---|---|---|---|
date
any
true
the date, datetime string or an object
format
string
false
the format mask to use in parsing
timezone
string
false
the timezone to apply to the parsed datetime
locale
string
false
optional ISO locale string ( e.g. en-US, en_US, es-SA, es_ES, ru-RU, etc ) used to parse localized formats