#45343 [NEW]: time() description is incredibly confusing.

From: Date: Tue, 24 Jun 2008 01:26:02 +0000
Subject: #45343 [NEW]: time() description is incredibly confusing.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-902@lists.php.net to get a copy of this message
From: jabbsjabbsjabbs at hotmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: time() description is incredibly confusing. Description: ------------ Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). Since the Epoch is defined as a specific time and timezone, such a value as described is the same everywhere in the world, yet time() returns the local time. i.e. the number of seconds since January 1 1970 00:00:00 XXX where XXX is your current timezone. -- Edit bug report at http://bugs.php.net/?id=45343&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45343&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45343&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45343&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45343&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45343&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45343&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45343&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45343&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45343&r=support Expected behavior: http://bugs.php.net/fix.php?id=45343&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45343&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45343&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45343&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45343&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45343&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45343&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45343&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45343&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45343&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45343&r=mysqlcfg

« previous php.doc.bugs (#902) next »