british summer time
Posted 29 March 2006 - 05:50 PM
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]$now = date("G:i a");[!--colorc--][/span][!--/colorc--]
but because the clocks have changed the time i am showing is an hour wrong any ideas?
can i do somthing like G+1
Posted 29 March 2006 - 05:55 PM
You're going to have to use the mktime() function to add an hour. However, I suggest you figure out something in terms of server configuration otherwise you'll have problems when the time changes back.
thankyou i will look into it
Posted 29 March 2006 - 06:02 PM
SO I would look into your how your server is configured. All PC/Laptops/Servers or what ever shoud do this. I think computers/servers will only do this if a setting called Daylight saving changes is set.
Posted 29 March 2006 - 06:27 PM
Posted 29 March 2006 - 07:32 PM
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]echo date('G:i a', strtotime('+1 hour'));[!--colorc--][/span][!--/colorc--]
so do i need to ask my host where there server is based, if it is in the uk it should do its self am i right?
this is the reply i got from my server
Our servers, like practically all other internet servers, run on UTC/GMT. If you wish your site to display the time in British Summer Time, you will need to adjust your script.
so what does this mean??
Posted 29 March 2006 - 08:14 PM
OR... you could take the date off of your site completely and let your users get the date and time from their own computers!
OR you could post the time and specify that it's based off of GMT.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users