Compare a date to the current date

Highlighted
One Star

Compare a date to the current date

Hello,
I would like to compare a date in a string to the current date
I have tried:
TalendDate.parseDate("dd-MM-yyyy",row31.QTEFDT ) >TalendDate.getCurrentDate()

but it does not work
I have an error a about the '>' operator

What is the good solution?
Thanks
Didier
One Star

Re: Compare a date to the current date

Hi Dhonore,
See the attached file..
Thanks
kumar.talend

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.