Forum Discussion
@doug.fossler
Use this-
$punchInDate.toLocaleDateString(‘{“format”:“yyyy-MM-dd HH:mm”}’
if punchInDate is coming as date field , if it’s coming as String then 1st do Date.parse($punchInDate), then use formater in mapper snap
doug_fossler
8 years agoNew Contributor
I am not doing this inside a mapper snap, i am attempting to do this in javascript inside a script snap on purpose.