Reputation: 4503
How can i get my machine timezoneinfo dynamically? right now i am doing it by hard code timezone.
string indTimeZoneKey = "**India Standard Time**";
TimeZoneInfo indTimeZone = TimeZoneInfo.FindSystemTimeZoneById(indTimeZoneKey);
Upvotes: 2
Views: 733