Why not abandon local time altogether and have all time in UTC. Saves confusion of different local time zones, and as an added bonus, UTC does not observe summer time (daylight savings time if you are American) On Sun, 17 Aug 2003 09:43:54 +0200, Lisi wrote: > 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 -- Robin Miyagi c2c2c - networking for the people. programming, webdesign, scripting, database, linux administration, linux servers. http://rocknpenguin.c2c2c.ca/linux-programming/?section=assembler -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php