ID:               44163
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cool_lim_lp at yahoo dot com dot sg
-Status:           Assigned
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: any
 PHP Version:      5.2.5
 Assigned To:      derick
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

date differences and intervals are part of PHP 5.3.


Previous Comments:
------------------------------------------------------------------------

[2008-02-19 08:48:43] [EMAIL PROTECTED]

I didn't refer to the date() comments.  The bug reporter did.

------------------------------------------------------------------------

[2008-02-19 08:05:20] [EMAIL PROTECTED]

Rasmus, most of the functions in the date() comments actually don't
work, so we can use something like this. I am hoping to manage to get it
into PHP 5.3.

------------------------------------------------------------------------

[2008-02-19 05:59:03] [EMAIL PROTECTED]

Right, date_diff would be useful, but date addition and the ability to
get individual date parts are there already in date_modify() and
date_parse().

------------------------------------------------------------------------

[2008-02-19 05:46:46] cool_lim_lp at yahoo dot com dot sg

look at the user notes at :

http://sg2.php.net/manual/en/function.date.php

see how many people have to write their own functions to do even simple
date calculations.

------------------------------------------------------------------------

[2008-02-19 05:26:06] cool_lim_lp at yahoo dot com dot sg

ok, tell me how do you calculate the no. of days difference between two
given dates.

------------------------------------------------------------------------

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/44163

-- 
Edit this bug report at http://bugs.php.net/?id=44163&edit=1

Reply via email to