Forum Discussion
bojanvelevski
4 years agoValued Contributor
Hey @Shawnaby,
I believe that this is happening because the date is not parsed at all. Can you show us the format of the incoming date?
darshthakkar
4 years agoValued Contributor
Agreed with @bojanvelevski’s point.
The data type might be different for both the dates for which Date.parse didn’t work for you.
I’ve tested the same solution and it was working for me, please refer to this for more details:
- Shawnaby4 years agoNew Contributor
Yes I had to parse the date. I thought it was already in date format, so I thought I didn’t need to specify the convention after the field ($xxx, yyyy-MM-DD)…
- darshthakkar4 years agoValued Contributor
Great, so is it safe to assume that the issue has been resolved?