Convert UTC to IST using C#
Try This:
DateTime utcdate = DateTime.ParseExact("6/15/2014 12:00:00 AM", "M/dd/yyyy
h:mm:ss tt",CultureInfo.InvariantCulture);
var istdate = TimeZoneInfo.ConvertTimeFromUtc(utcdate,
TimeZoneInfo.FindSystemTimeZoneById("India Standard Time"));
I'm getting output :
6/15/2014 5:30:00 AM
You could also try:
DateTime utc = TimeZoneInfo.ConvertTimeToUtc(new DateTime(2014, 6, 16, 2, 0, 0));
DateTime temp = new DateTime(utc.Ticks, DateTimeKind.Utc);
DateTime ist = TimeZoneInfo.ConvertTimeFromUtc(temp, TimeZoneInfo.FindSystemTimeZoneById("India Standard Time"));