convert to moment date code example
Example 1: convert moment date to utc format moment
moment(timestamp).toISOString(true)
Example 2: moment to date
moment().toDate();
moment(timestamp).toISOString(true)
moment().toDate();