daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string zoneId = "India Standard Time";
  2. TimeZoneInfo tzi = TimeZoneInfo.FindSystemTimeZoneById(zoneId);
  3. DateTime dt = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, tzi);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top