Hello I have a problem with different date formats between angularjs app and ASP.NET. I have this code in js:
$http.post("server/api/save", {date: new Date(2018, 1, 5)})
in date is: Fri Jan 05 2018 00:00:00 GMT+0100
But in server is this: 04.01.2018 23:00:00. In ASP.NET is datatype of date Nullable<System.DateTime>.
where would be the problem that the yesterday's date will come to my server?
Thanks