How to convert string to date in talend

Use below expressions in any of the talend job flow to get the formated date output, Expression can be applied in tMap, tJava,tJavaflex,tJavaRow etc...

TalendDate.formatDate("hh:mm dd-MM-YY",TalendDate.parseDate("HHmmddMMyy",row1.newColumn))

Comments

Popular posts from this blog

Most commonly used components in TALEND

How to execute the Talend job in command line