how to add moment in javascript code example
Example 1: javascript moment
m = moment('2013-03-01', 'YYYY-MM-DD')
Example 2: moment to javascript date
let now = moment()
let now = now.toDate()
m = moment('2013-03-01', 'YYYY-MM-DD')
let now = moment()
let now = now.toDate()