Hi Burra, Karthik ,
That's right. toDate function expects the input string format as the second parameter . For Month, we need to provide 'MM' . If your input string is '12/18/2012' , your expression should be toDate('12/18/2012', 'MM/dd/yyyy')
The output will always be in yyyy-MM-dd
format.
Kindly accept the answer by clicking on Accept answer
button. Thankyou