include moment code example
Example 1: moment now format
var date = moment().format('MM/DD/YYYY');
Example 2: moment diff
var a = moment([2007, 0, 29]);
var b = moment([2007, 0, 28]);
a.diff(b, 'days') // 1
var date = moment().format('MM/DD/YYYY');
var a = moment([2007, 0, 29]);
var b = moment([2007, 0, 28]);
a.diff(b, 'days') // 1