Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment add

moment([2010, 0, 31]);                  // January 31
moment([2010, 0, 31]).add(1, 'months'); // February 28
Source by momentjs.com #
 
PREVIOUS NEXT
Tagged: #moment #add
ADD COMMENT
Topic
Name
6+1 =