C#:
TimeZoneInfo local = TimeZoneInfo.Local; label1.Text = local.DisplayName;
js:
<html><body>
<script> var newDate1=new Date(); alert(newDate1.getTimezoneOffset());</script></body></html>
posted @ 2017-01-04 00:04 xjy 阅读(191) 评论(0) 收藏 举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。