console.log(new Date().toTimeString().slice(9)); console.log(Intl.DateTimeFormat().resolvedOptions().timeZone); console.log(new Date().getTimezoneOffset() / -60);