gaurav_sandil
7 years agoNew Contributor III
Milliseconds to Date
Hi ,
I want to convert Milliseconds to Date.
For instance If I give 1540456849550 then it should give me the date like Thu 25 October 2018 14:10:49
Thanks,
Gaurav Sandil
Use below expression in mapper to achieve it.
Date.parse(1540456849550).toLocaleDateTimeString({“format”:“E dd MMMMM yyyy HH:mm:ss”})