Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
如果您在 Windows 上运行,则可以从注册表中提取此信息。并且通过 Windows 更新保持最新状态。 .NET 有一个非常有用的 TimeZoneInfo 类,可以为您提供所有这些 - http ://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx
但这仅限于 Windows...
If you're running on Windows you can pull this info from the registry. And it's kept up to date by Windows update. .NET has a very useful TimeZoneInfo class that can give you all of this - http://msdn.microsoft.com/en-us/library/system.timezoneinfo.aspx
But that is Windows only...