#33521 [NEW]: support for "@timestamp"-syntax in strtotime()
| From: | messju at lammfellpuschen dot de | Date: | Thu, 30 Jun 2005 13:14:12 +0000 |
| Subject: | #33521 [NEW]: support for "@timestamp"-syntax in strtotime() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-81218@lists.php.net to get a copy of this message | ||
From: messju at lammfellpuschen dot de
Operating system: any
PHP version: 5CVS-2005-06-30 (dev)
PHP Bug Type: Feature/Change Request
Bug description: support for "@timestamp"-syntax in strtotime()
Description:
------------
According to it's documentation, strtotime() parses dates
in the "GNU Date Input Formats syntax".
http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html#SEC117
Describes the format "@number" to specify a timestamp as a datestring. It
would be great if php's strtotime() also supported this kind of
dateformat.
This would to help avoid ambiguity-problems when passing return values of
time() to strtotime(). like here:
http://bugs.php.net/bug.php?id=30215
--
Edit bug report at http://bugs.php.net/?id=33521&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33521&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33521&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33521&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33521&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33521&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33521&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33521&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33521&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33521&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33521&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33521&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33521&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33521&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33521&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33521&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33521&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33521&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33521&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33521&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33521&r=mysqlcfg