ASP.NET 2.0 - DateTime.Now How do I adjust to London time when host server is in California?
Posted on 2006-11-12
I have the following code in my website:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
dateLabel.Text = DateTime.Now.ToString("dddd, dd MMMM yyyy")
Having recently transferred hosts to Lunarpages who are based in California (who are GMT/UTC - 08:00 hours), the date now displayed on my website is incorrect.
How do I adjust my code so the day changes at midnight UK time?