|
Posted by AnrDaemon on 10/26/07 08:30
Greetings, Jeremy.
In reply to Your message dated Friday, October 26, 2007, 04:43:12,
J> if(date("I") == 1)
J> {
J> //daylight saving time
J> }
J> else
J> {
J> //not daylight saving time
J> }
J> Whether this is accurate (in light of the recent change in the
J> definition of DST) is up to your server.
Don't forget to set date.timezone to client timezone before checking that.
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
[Back to original message]
|