Skip to main content Skip to complementary content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

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!