app.moment date format code example
Example 1: format a date moment
moment(testDate).format('MM/DD/YYYY');
Example 2: moment to javascript date
let now = moment()
let now = now.toDate()
moment(testDate).format('MM/DD/YYYY');
let now = moment()
let now = now.toDate()