remove timezone from date string javascript code example
Example: how to remove timezone from date in javascript
let date = new Date(1432851021000);
date.toDateString();
// outputs to "Thu May 29 2015"
let date = new Date(1432851021000);
date.toDateString();
// outputs to "Thu May 29 2015"