how to convert moment to date object in node js code example
Example 1: moment to date
moment().toDate();
Example 2: moment to javascript date
let now = moment()
let now = now.toDate()
moment().toDate();
let now = moment()
let now = now.toDate()