Page 1 of 1

Daylight saving times

Posted: Mon Jul 11, 2005 6:19 am
by tores
Hi

How can I get

Code: Select all

date('H:i:s', 60*60);
to display 01:00:00 instead of 02:00:00 during daylight savingtime?

regards tores

Posted: Mon Jul 11, 2005 6:47 am
by Weirdan
perhaps

Code: Select all

echo date("H:i:s", mktime(1, 0, 0));

Posted: Mon Jul 11, 2005 9:01 am
by tores
Yepps, that works:)
Thanks a bunch