Skip to main 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

Checking a Date

It is easy to use the isDate routine, along with a tJava component to check if a date expression is in the format specified:

System.out.println(TalendDate.isDate("2010-02-09 00:00:00",
"yyyy-MM-dd HH:mm:ss"));

A boolean is returned in the Run view:

The result is "true" in the Run view.

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!