Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment iso string to zero

moment(startDate).add(1, 'day').startOf('day').toISOString().replace(/T.*/gi, 'T00:00:00.000Z')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #iso #string
ADD COMMENT
Topic
Name
7+5 =