<%@ Page %>
Culture="hi-IN"
//use utc time to avoid daylight savings time in us. and use correct number of hours numberOfHoursToAdd = 7; private DateTime today = DateTime.Now.AddHours(numberOfHoursToAdd);
TimeZoneInfo timzoe = TimeZoneInfo.FindSystemTimeZoneById("India Standard Time"); and then DateTime indiaTime = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow,timzoe);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)