Calculating daylight savings time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have sunset times stored in a database and the a PHP page that performs a number of calculations on the retrieved time. One of the things I need to figure out is whether or not to add an hour for Daylight Savings Time. Since there is more than once location, and each one begins and ends DST at a different time, I need to figure this out based on location. My question is, how do I figure out whether it's the "first sunday in April" yet or not? I know it has to do with the date() function somehow, I'm just not sure how to use it properly in this case - any suggestions?

Thanks,

-Lisi


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux