Get Time zone Offset : Time Zone « Date Time « JavaScript DHTML






Get Time zone Offset

    
<html>
<body>
<button onclick="var myDate = new Date(); 
                 alert(myDate.getTimezoneOffset());">
Date: get Timezone Offset
</button>
</body>
</html>

    
      
      








Related examples in the same category