PHP does not automatically handle DST. You have to check
if (date('I', time()) == 1) ... the time is in DST mode ("0" = not)
Then you should increase the time accordingly. (Note: āIā is in equity. I just checked it and it works.)
Apostolos
source share