how to parse moment () in javascript code example
Example 1: moment now format
var date = moment().format('MM/DD/YYYY');
Example 2: moment to javascript date
let now = moment()
let now = now.toDate()
var date = moment().format('MM/DD/YYYY');
let now = moment()
let now = now.toDate()