What is the easiest equivalent of date.setHours(0,0,0,0)
when using moment.js?
Basically, if I need a new Date()
moment with hours, minutes, seconds, and milliseconds zeroed out.
What is the easiest equivalent of date.setHours(0,0,0,0)
when using moment.js?
Basically, if I need a new Date()
moment with hours, minutes, seconds, and milliseconds zeroed out.
Start of Time
moment().startOf('day')