Answers for "how to set the time of date as 12 am javascript"

2

javascript get midnight tonight

var d = new Date();
d.setHours(24,0,0,0); // next midnight
Posted by: Guest on July-17-2019

Code answers related to "how to set the time of date as 12 am javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language