Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all.
I am using tftpfileproperty in one of my job. It has one schema in it called mtime_string which is the date in string format like : "Tue Jan 14 13:30:09 IST 2020". Now i am using a tmap and my aim is to convert this "Tue Jan 14 13:30:09 IST 2020" into a date format of "yyyyMMdd" only.
How to do it ...can anyone please suggest..?
Many Many thanks
Try this:
TalendDate.formatDate("yyyyMMdd", TalendDate.parseDate("EEE MMM dd HH:mm:ss z yyyy", row1yourDateField))
This should work.
Try this:
TalendDate.formatDate("yyyyMMdd", TalendDate.parseDate("EEE MMM dd HH:mm:ss z yyyy", row1yourDateField))
This should work.