Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove timezone from date in javascript

let date = new Date(1432851021000);
date.toDateString(); 
// outputs to "Thu May 29 2015"
 
PREVIOUS NEXT
Tagged: #remove #timezone #date #javascript
ADD COMMENT
Topic
Name
4+3 =