Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Validate string Date in Taledn

Hi All,

 

I have to validate date data which is coming as a String in 'MM/YYYY'  format. I need to validate whether input date is valid or not? Validate means it should have 12 months only and proper years.

 

Is there any function for this in Talend?

Labels (2)
3 Replies
fdenis
Master
Master

hi,
you can use java regexp match methode for that :
https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
Anonymous
Not applicable
Author

HI

 

I dont understand this. this has so many things. can you be please specific. is there any function in talend which I can use?

cmendels
Contributor III
Contributor III

You can use TalendDate.isDate(your date, "MM/yyyy").