Can the time or localisation be changed on the server

Discussion in 'General troubleshooting' started by apgriffiths, Jun 14, 2012.

  1. My site is used in the UK and I have some code that checks stored dates and times against the current time and if it falls within two times then it makes certain areas of the site accessible.
    The problem is that there was a big delay, approx 8 hours i think which i believe is because the servers are in the US set pacific time.

    Is there any way that I can set the time to GMT on the server or is there a way I can force my site to use GMT?

    Any help is appreciated.
     
  2. Unfortunately, you cannot change the server time, as it would affect everyone on the same server, but you may be able to set something up in your sites code.

    Are you using a CMS or custom code? Are you using ASP.net, ASP or PHP?
     
  3. Thanks for the response.

    I thought that would be the case on the server.

    I am using custom asp.net code.
     

Share This Page