Skip to main content Skip to complementary content

parseDateTime

Creates a datetime from a string.

Arguments

  1. Input datetime as a string.
  2. Datetime pattern as a string:
    • yyyy for the year
    • MM for the month
    • dd for the day
    • HH for the hours
    • mm for the minutes
    • ss for the seconds
    • SSS for a fraction of a second
    • ZZZZZ for the time zone

Examples

Expression Result
parseDateTime("2021-04-21T11:05:18.337+02:00", "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ") 2021-04-21T11:05:18.337+02:00

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!