#29892 [NEW]: strtotime('now'); doesn't work

From: Date: Mon, 30 Aug 2004 08:28:55 +0000
Subject: #29892 [NEW]: strtotime('now'); doesn't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65445@lists.php.net to get a copy of this message
From: alexander dot over at koeln dot de Operating system: Suse9.1 PHP version: 5.0.1 PHP Bug Type: Unknown/Other Function Bug description: strtotime('now'); doesn't work Description: ------------ the result from strtotime("now"); gives me only the timestamp from the beginning of the actual day. Reproduce code: --------------- <? echo strtotime("now"); ?> Expected result: ---------------- 1093854300 Actual result: -------------- 1093816800 -> 30.08.2004 00:00:00 -- Edit bug report at http://bugs.php.net/?id=29892&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29892&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29892&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29892&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29892&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29892&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29892&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29892&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29892&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29892&r=support Expected behavior: http://bugs.php.net/fix.php?id=29892&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29892&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29892&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29892&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29892&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29892&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29892&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29892&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29892&r=float

« previous php.bugs (#65445) next »