C#:
TimeZoneInfo local = TimeZoneInfo.Local;
label1.Text = local.DisplayName;
js:
<html>
<body>
<script>
var newDate1=new Date();
alert(newDate1.getTimezoneOffset());
</script>
</body>
</html>
C#:
TimeZoneInfo local = TimeZoneInfo.Local;
label1.Text = local.DisplayName;
js:
<html>
<body>
<script>
var newDate1=new Date();
alert(newDate1.getTimezoneOffset());
</script>
</body>
</html>