Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All
Can anyone help for this below requirement , am getting unpareble date when am passing through tMap
I do i have a date format in MM/dd/yyyy and i need to change that date format into yyyy-MM-dd
example
10/05/2019 to 2019-10-05
Thanks
Manish
Example
Input
05/10/2019
and in
output
2019-10-05
i used function but it did not worked to me
TalendDate.parseDate("MM/dd/yyyy",TalendDate.formatDate("yyyy-dd-MM" row1.Date ))
Hi @ksingh try like this it worked for me. I tested and it worked for me.
TalendDate.formatDate( "yyyy-MM-dd",row2.dt)
Output is like below:
I added other date formats just in case if someone needs it.Happy to help.