Posted on: 9/18/2015 5:21:36 PM | Views : 773

I host my website (asp.net webforms, .Net 4.5, SQL Server 2012) on Godaddy and they (the server) use Mountain Standard Time  (-7 compare to  UTC time) which is never changed and does not observe daylight savings.
So if I do
Response.Write("UTC Time: " + DateTime.UtcNow.ToString() + "<br/>"); Response.Write("Server Time: " + DateTime.Now.ToString() + "<br/>"); Response.Write("Server DateTimeOffset: " + DateTimeOffset.Now.ToString() + "<br/>"); It will display this:
UTC Time: 9/18/2015 Go to the complete details ...