Menu

Get Indian Standard Time(IST) in c#?

Written by

This method to Get current date-time from UTC and saving through Entity Framework.

Err.Date = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, TimeZoneInfo.FindSystemTimeZoneById("India Standard Time"));

 

Article Categories:
C#

Comments are closed.

Shares