DateTime indiantime; protected void Page_Load( object sender, EventArgs e) { indiantime = getIndianStandardTime(); string temptime= indiantime.ToString( dddd, MMMM dd yyyy [HH:mm:ss]); } public DateTime getIndianStandardTime() { TimeZoneInfo IND_ZONE = TimeZoneInfo .FindSystemTimeZoneById( "India Standard Time" ); return TimeZoneInfo .ConvertTimeFromUtc( DateTime .UtcNow, IND_ZONE); }
From the Developers....to the Developers