javascript moment convert date format on;ibe code example Example: moment to javascript date let now = moment() let now = now.toDate()