Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-04-02 Thread Patrick Sibenaler
I'm getting my brain fried on this. Tried to figure out the results of you code. I think you're at the point where I really started to get worried. So I tried to put it into a more simple question: Why doesn't gmmktime(15,1,0,11,1,2002) return the SAME number (= epoch timestamp) when execut

Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread DL Neil
BTW for all who are following this, Patrick has cleverly illustrated that most of the northern hemisphere locations where summer time is observed will 'spring forward' this weekend. Most of the southern hemisphere locations that were in summer time did their 'fall back' last weekend! NB the two us

[PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread Patrick Sibenaler
hi. i'm storing events in a mysql-db, using epoch timestamps to pinpoint the exact date/time for an event. so far, I have been using localtime, being aware that there are inconsistencies in the number of epoch-seconds, when DST flips on and off. nevertheless, that works fine as long as you