#36951 [NEW]: system time problem

From: Date: Sun, 02 Apr 2006 14:29:34 +0000
Subject: #36951 [NEW]: system time problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95215@lists.php.net to get a copy of this message
From: benny_22012771 at yahoo dot com Operating system: WINDOWS XP PHP version: 5.1.2 PHP Bug Type: Unknown/Other Function Bug description: system time problem Description: ------------ I'm using PHP 5.1.2, IIS, Mozilla Firefox 1.0.7 On my computer system showing the time is 11:36 PM (Friday, March 31 2006) But when i running the following script: Reproduce code: --------------- <?php $today = date("H:i:s; l, M d, Y"); echo "$today"; //$today is return 00:36:15; Saturday, Apr 01, 2006; another time function return the same value //like strftime(); ?> Expected result: ---------------- it return the uncorrectly time (something like the converting from php is added more 3600 of microtime). Actual result: -------------- the actual result is same as system time, but it return the time uncorrectly. -- Edit bug report at http://bugs.php.net/?id=36951&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36951&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36951&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36951&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36951&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36951&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36951&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36951&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36951&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36951&r=support Expected behavior: http://bugs.php.net/fix.php?id=36951&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36951&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36951&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36951&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36951&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36951&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36951&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36951&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36951&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36951&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36951&r=mysqlcfg

« previous php.bugs (#95215) next »