Compare a date to the current date

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

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download