I'm sending the following JSON as part of an Ajax request, where Param #1 is a Date string.
data : JSON.stringify({'localCreatedDate' : new Date(),
'localUserAgent' : navigator.userAgent
)});
However, the date I need is the original literal JS string which looks like:
Sun Sep 08 2019 17:33:32 GMT-0400 (Eastern Daylight Time)
But JSON.stringify() is making it:
2019-09-08T21:33:32.016Z