how to get Date from moment code example
Example 1: moment to date
moment().toDate();
Example 2: moment get month day
//The correct function to use is .date():
date.date() === 25;
Example 3: moment to javascript date
let now = moment()
let now = now.toDate()