Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get date start of today

var startOfDay = new Date();
startOfDay.setHours(0,0,0,0);
var endOfDay = new Date();
endOfDay.setHours(23,59,59,999);
 
PREVIOUS NEXT
Tagged: #javascript #date #start #today
ADD COMMENT
Topic
Name
9+4 =