How do you pull out a value for “tz” into a usable variable in ASP.net?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Timezone</title>
<script type="text/javascript">
function timezone(){
var offset = new Date().getTimezoneOffset();
document.getElementById('tz').innerHTML=offset;
}
</script>
</head>
<body>
<div id="tz"></div>
<input type="button" Value="TimezoneButton" onclick="timezone();" />
</body>
</html>