convert date to moment format code example
Example 1: convert moment date to utc format moment
moment(timestamp).toISOString(true)
Example 2: moment to date
moment().toDate();
Example 3: format a date moment
moment(testDate).format('MM/DD/YYYY');
Example 4: moment to javascript date
let now = moment()
let now = now.toDate()