a guest Oct 12th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- string zoneId = "India Standard Time";
- TimeZoneInfo tzi = TimeZoneInfo.FindSystemTimeZoneById(zoneId);
- DateTime dt = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, tzi);
RAW Paste Data