moment get iso string code example
Example 1: how to get iso date with moment
moment().toISOString(); // or format() - see below
Example 2: moment now format
var date = moment().format('MM/DD/YYYY');
Example 3: moment get day
var check = moment(n.entry.date_entered, 'YYYY/MM/DD');
var month = check.format('M');
var day = check.format('D');
var year = check.format('YYYY');