Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript make new date from hour

// Like Fri, 26 Sep 2014 18:30:00 GMT
var today = new Date();

var myToday = new Date(today.getFullYear(), today.getMonth(), today.getDate(), 0, 0, 0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #date #hour
ADD COMMENT
Topic
Name
1+3 =