how to use moment.js for the current data code example
Example 1: moment now format
var date = moment().format('MM/DD/YYYY');
Example 2: moment js print date
moment(testDate).format('MM/DD/YYYY');
var date = moment().format('MM/DD/YYYY');
moment(testDate).format('MM/DD/YYYY');