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

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch