Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment set hours

const date = moment()

date.set({ 
  hour:0,
  minute:0,
  second:0,
  millisecond:0
})
 
PREVIOUS NEXT
Tagged: #moment #set #hours
ADD COMMENT
Topic
Name
1+8 =