开发者

how to get dynamic timezone of system

How can i get my machine timezoneinfo dynamically? right now i am doing it by hard code timezone.

        string indTimeZoneKey = "**India Standard Time**";
        TimeZoneInfo ind开发者_StackOverflowTimeZone = TimeZoneInfo.FindSystemTimeZoneById(indTimeZoneKey);


You could use the Local property of TimeZoneInfo.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜