getUTCDay < Date < JavaScript
The getUTCDay() method of the Date object returns the day of the week for the date according to universal time, where 0 is Sunday and 6 is Saturday.
const date = new Date('July 20, 2020 21:36:00 GMT+11:00');
const utcDay = date.getUTCDay();
console.log(utcDay);
// 1