Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get milliseconds since epoch for 12am today javascript

var d = new Date();
d.setUTCHours(0,0,0,0);
console.log(+d);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #milliseconds #epoch #today #javascript
ADD COMMENT
Topic
Name
9+3 =