Answers for "get browser timezone"

0

get browser timezone

console.log(new Date().toTimeString().slice(9));
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone);
console.log(new Date().getTimezoneOffset() / -60);
Posted by: Guest on June-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language