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