Forum Discussion
rdill
5 years agoAdmin
Victor,
I can understand how 16/12/1943 would fail. But I tested 1932, 1940 and 1950 and had no issues
This in the mapper expression
Date.parse (“09/12/1940”,“dd/MM/yyyy”)
this is the result
_snaptype_datetime: “1940-12-09T00:00:00.000 UTC”
please try again
petar_rajchinos
5 years agoNew Contributor III
Hi @rdill,
I have quite similar problem while using Date.parse() function. (Sound to me that started after the new release)
I have a mapper and an input value that I’m trying to parse using Date.parse(). On the dynamic preview it is showing the correct output but when on the real output it is writing NaN instead of the date value.
Dynamic preview:
JSON output of the same snap (same field):