Bug #3424: Date function not accurate for seconds

From: Date: Mon, 07 Feb 2000 22:24:35 +0000
Subject: Bug #3424: Date function not accurate for seconds
Groups: php.dev 
Request: Send a blank email to php-dev+get-15286@lists.php.net to get a copy of this message
From: ddwyer@ncic.com Operating system: NT 4 PHP version: 3.0.14 PHP Bug Type: Misbehaving function Bug description: Date function not accurate for seconds According to the documentation, the timestamp is the number of seconds since 12am 1/1/70. A day has 60*60*24 (86400) seconds in it. When I use the function: date("H:i:s",86400); ...it replies 17:00:00 (5pm) When I plug in a higher number, 107999, that gets me to 23:59:59-- a 30-hour day?

« previous php.dev (#15286) next »