Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js set date to midnight

// start day
new Date().setHours(0,0,0,0);
// finish day
new Date().setHours(23,59,59,0);
 
PREVIOUS NEXT
Tagged: #js #set #date #midnight
ADD COMMENT
Topic
Name
3+4 =