#34283 [Com]: date("U") is not returning a valid date stamp
| From: | tcorless at utah dot gov | Date: | Tue, 20 Sep 2005 17:51:43 +0000 |
| Subject: | #34283 [Com]: date("U") is not returning a valid date stamp | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85290@lists.php.net to get a copy of this message | ||
ID: 34283
Comment by: tcorless at utah dot gov
Reported By: hamilton at laughland dot biz
Status: No Feedback
Bug Type: *General Issues
Operating System: Windows XP SP2
PHP Version: 5.1.0RC1
New Comment:
I downloaded the latest from the link above and it still returns %ld
Previous Comments:
------------------------------------------------------------------------
[2005-09-05 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-08-28 01:15:42] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-08-28 00:48:28] hamilton at laughland dot biz
Description:
------------
The problem is is as per the summary.
date("U") is not returning a valid datestamp.
In my case it is returning "%ld" (without quotes).
The date function is returning the expected results for other pattern
strings I have tried.
Reproduce code:
---------------
$today = date("U");
Returns %ld
Expected result:
----------------
A valid timestamp should have been returned.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34283&edit=1