how to detect day light saving automaticaly in php ?
+2
A:
echo date('I', time());
the I (capital i) is a 1/0 denoting if your currently within daylight saving hours.
http://php.net/manual/en/function.date.php
hope it helps.
Glycerine
2010-05-04 09:01:11
+1 Go for it....
OM The Eternity
2010-05-04 09:05:03