ParseDateTime
Last updated
Was this helpful?
Last updated
Was this helpful?
Parses a datetime string or object
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