ID: 28209
Comment by: patchwork14 at hotmail dot com
Reported By: gamin at centras dot lt
Status: Assigned
Bug Type: Date/time related
Operating System: WinXP HE SP1
PHP Version: 5.0.0RC2
Assigned To: derick
New Comment:
Will this bug be fixed before the final php5 release?
A lot of code will need rewriting before php5 is released if "now" is
going to changed.
Wouldn't it be better to have
today = Monday 12th of July 2004 12:00:00 AM
now = Monday 12th of July 2004 08:49:23 PM
Previous Comments:
------------------------------------------------------------------------
[2004-07-05 11:13:44] niels dot hansen at pola dot dk
The functionality is maintained in RC3.
I needs the realtime for logging of process. My workaround is to do
this:
$str=date('d F Y h:i:s A');
$timestamp = strtotime("$str");
------------------------------------------------------------------------
[2004-06-15 12:42:47] wb at pro-net dot co dot uk
So how would one, for example, use strtotime() to get the current time
+ 10 mins?
------------------------------------------------------------------------
[2004-05-19 12:33:35] [EMAIL PROTECTED]
That's feasible for the rewrite, but for the current parser.
------------------------------------------------------------------------
[2004-05-19 12:10:35] wb at pro-net dot co dot uk
Just thought that i would point out that in PHP 4 now is real now and
not GNU now so form a BC point of view i think now should be real now.
------------------------------------------------------------------------
[2004-05-19 12:10:17] wb at pro-net dot co dot uk
Just thought that i would point out that in PHP 4 now is real now and
not GNU now so form a BC point of view i think now should be real now.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28209
--
Edit this bug report at http://bugs.php.net/?id=28209&edit=1