Four Stars

How to convert a special date

hi 

could you please help me on date conversion Fri Feb 24 00:00:00 IST 2017 to dd-MM-yyyy format

 

2 REPLIES
Fifteen Stars

Re: How to convert a special date

This will do it for you......

 

routines.TalendDate.formatDate("dd-MM-yyyy", routines.TalendDate.parseDate("E MMM dd HH:mm:ss Z yyyy", "Fri Feb 24 00:00:00 IST 2017"))

Rilhia Solutions
Four Stars

Re: How to convert a special date

Hey thank you shall