View Single Post
  #6 (permalink)  
Old 16-05-2007, 19:46
ShaunH ShaunH is offline
new member
 
Join Date: May 2007
Posts: 3
Default

Quote:
Originally Posted by DPS Computing View Post
I'm sure it is, I just don't know what it is off hand.

If you want it automatically I suppose you could set the series of dates that is DST and add the hour and then set a series of date it is normal GMT. This would involve some kind of If statement but would be harder to implement.

I will keep a look out for some more information on it for you.

Hope that helps .
Thanks, for the moment I've used the following to do a quick fix , and will try to do some research (google ) myself to find out if I can automate the process at a later point
PHP Code:
    setlocale(LC_TIME'en_UK');
       
$currentDateTime=strtotime("+ 1 hour"); // add 1 hour for BST
       
$today strftime("%B %d %G %R",$currentDateTime);
    echo 
"$today<br><br>"
Thanks for your help,

Best wishes,

ShaunH
Reply With Quote