i am converted server timezone to India Standard Time using below code.
but its working fine in iis and not working in cloud server....(cloud timezone is us)
DateTime serverTime = DateTime.Now;
DateTime _localTime = TimeZoneInfo.ConvertTimeBySystemTimeZoneId(serverTime, TimeZoneInfo.Local.Id, "India Standard Time");
return _localTime;
Dipankar BiswasPosted May 15, 2015, 5:56 AM
See This video to help..https://www.youtube.com/watch?v=Cqkjh-YqlLk