Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Filter on a date field with tmap

Hi,
I have a simple question can I make a filter on a date field in tmap, using an expression filter...
IN JAVA please, and my date format is dd-MM-yyyy like the pic:
date_fin > "01-09-2008"
Labels (3)
4 Replies
Anonymous
Not applicable
Author

yes !
date_fin > TalendDate.parseDate("dd-MM-yyyy","01-09-2008")
there are some usefull function in talend
Anonymous
Not applicable
Author

euhhh I tried during one our it doesn't work !!!
this is my error :
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The operator > is undefined for the argument type(s) java.util.Date, java.util.Date
at
Anonymous
Not applicable
Author

sorry :
it's better :
date_fin.after( TalendDate.parseDate("dd-MM-yyyy","01-09-2008"))
Anonymous
Not applicable
Author

WOouuuaaaa,
THANKS it's working...