how do you add days together moment code example Example 1: moment add 30 days moment().add(30, 'days'); Example 2: moment add 6 months moment().add(6, 'M');