Micah Gersten wrote:

$query .= " WHERE stamp < ".(time()-7*3600*24);

Using something like that is disastrous for DST and Leap Seconds...

That's why you use UTC for servers and translate to local time when you need to display it.

Not sure that solves the leap second issue, but it certainly solves the DST issue.

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

Reply via email to