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