Re: [PHP-DB] Dates - adding to unix 86400 seconds not equal next day

2004-09-01 Thread Craig Brothers
what are you seeing for output? When I run your code I get the following 30 10 2004 31 10 2004 running on Fedora Core 1, Apache 2.0.5, PHP 5.0.1 -- Craig Brothers [EMAIL PROTECTED] On Wed, 2004-09-01 at 08:49, ioannes wrote: Code: ? //unix date is 1099177200 seconds since 01/01/1970

Re: [PHP-DB] Dates - adding to unix 86400 seconds not equal nextday

2004-09-01 Thread Craig Brothers
I think your problem might be due to daylight savings time. 10/31/04 is the day that the clocks get set back 1 hour (at 2am). therefore we have 25 hours in the day on 10/31. not sure how to get around it though, or why my system accounts for it. -- Craig Brothers [EMAIL PROTECTED] On Wed