PHP 4.0 Bug #9350 Updated: Internet Time Incorect

From: Date: Tue, 20 Feb 2001 07:39:29 +0000
Subject: PHP 4.0 Bug #9350 Updated: Internet Time Incorect
Groups: php.dev 
Request: Send a blank email to php-dev+get-47005@lists.php.net to get a copy of this message
ID: 9350 Updated by: derick Reported By: swilliams@eangulus.com Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: I think was fixed in CVS, could you try a snapshot from snaps.php.net ans reopen this bugreport when it doesn't solve the problem? Previous Comments: --------------------------------------------------------------------------- [2001-02-20 02:37:04] swilliams@eangulus.com I used this script: <? $ServerTime = time(); $SerTime = date('g:i:s a',$ServerTime); $SerLongDate = date('l, dS F Y',$ServerTime); $SerBeat = date("@B",$ServerTime); Print "<b>ServerTime:</b> $SerTime<br><b>ServerLongDate:</b> $SerLongDate<br><b>ServerSwatch:</b> $SerBeat<br>"; ?> The internet time shows correctly except for the first hour (or 42 beats) From @000 onwards it does not count up 001, 002, 003 etc untill 1 hour has passed and it then shows @042. Is this a bug with PHP or Windows 2000. ALso if it is PHP is it just Win32 or the unix version also. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9350&edit=2

« previous php.dev (#47005) next »