Probably and easy answer to this but I can\'t seem to find a way to get moment.js to return a UTC date time in milliseconds. Here is what I am doing:
var dat
This worked for me. Others might find it useful.
// date = 2020-08-31T00:00:00Z I'm located in Denmark (timezone is +2 hours)
moment.utc(moment(date).utc()).format() // returns 2020-08-30T22:00:00Z