Tuesday 10 December 2013

Converting string to date in Talend

Date Expression in Talend

Converting string to date:
 

Relational.ISNULL(row1.Checkdate)==true?
null:new SimpleDateFormat("MM-dd-yyyy hh:mm:ss").parse(row1.Checkdate)



Source :
See the difference b/w small and capital

http://javatechniques.com/blog/dateformat-and-simpledateformat-examples/

No comments:

Post a Comment