angular $http.post changing date to UTC date
Handling date, time, and timezone have confused me too. May be this answer gives you some insight on how you can handle them. Try the following code in Chrome’s developer console and see how same date is presented in different formats: var date = new Date(); date.toISOString(); // “2017-04-29T09:54:28.714Z” date.toGMTString(); //”Sat, 29 Apr 2017 09:54:28 … Read more