Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment get end of next moenth

moment('02/28/2018', "MM/DD/YYYY").add(1, 'M').endOf("month")
// 2018-03-31T23:59:59.999Z
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #moenth
ADD COMMENT
Topic
Name
7+1 =