Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment.add

var newDate = moment().add(1, 'hours').add(10,"m");
//years or y
//quarters or Q
//months or M
//weeks or w
//days or d
//hours or h
//minutes or m
//seconds	or s
//milliseconds or ms 
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+1 =