Skip to content

#parseDateTime

Parses a string into an ISO 8601 date and time, requiring an exact format when one is given.

#parseDateTime(value, format?)
Category Dates and timesValid in Property value
Name Type Description
value path | string The date and time text.
format (optional) string A .NET date format string, such as yyyy-MM-dd.

string — An ISO 8601 date and time.

#parseDateTime($.some.path, 'yyyy-MM-dd')

#formatDateTime