const dt = Temporal.ZonedDateTime.from("2021-07-01[America/New_York]");
console.log(dt.dayOfWeek); // 4; ThursdayTemporal.ZonedDateTime.prototype.dayOfWeek / notebook
Temporal.ZonedDateTime.prototype.dayOfWeek
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.