<!DOCTYPE html>

<html>

<body>

<p id="demo"></p>

<script>

var d = new Date();

document.getElementById("demo").innerHTML = d;

alert(d.getTimezoneOffset()/-60);

</script>

</body>

</html>

getTimeZone.hml


+ Recent posts