MOMENTJS DATE INTERVAL FORMAT code example Example 1: moment js print date moment(testDate).format('MM/DD/YYYY'); Example 2: momentjs docs npm install moment