Re: Dates - adding to unix 86400 seconds not equal nextday

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

 



Isn't this due to how your operating system handles the switch from daylight saving time to GMT (or local equivilent)? Or is this handled by PHP? That could account for different experiences. Of course if your locale doesn't switch from DST on this date you won't see the issue either...

Using gmdate doesn't cause this anomaly.

Apologies if this is what you're discussing and the issue is when the DST switch takes place...

cheers Simon


-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon Rees | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
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