Re: [PHP-DOC] date_diff

2008-08-01 Thread Hannes Magnusson
On Fri, Aug 1, 2008 at 11:59, <[EMAIL PROTECTED]> wrote: > It does, thats why it works with date_add & date_sub but when it's > var_dumped nothing is displayed just -> diff: object(DateInterval)#3 (0) { } I talked to Derick about it, on IRC, and apparently this is a bug, var_dump()ing DateInterva

Re: [PHP-DOC] date_diff

2008-08-01 Thread a_j_bellamy
It does, thats why it works with date_add & date_sub but when it's var_dumped nothing is displayed just -> diff: object(DateInterval)#3 (0) { } -- From: "Richard Quadling" <[EMAIL PROTECTED]> Sent: Friday, August 01, 2008 10:53 AM To: <[EMAIL PROTE

Re: [PHP-DOC] date_diff

2008-08-01 Thread Richard Quadling
2008/7/31 <[EMAIL PROTECTED]>: > The DateInterval class needs to have a new method added to it to display the > actual difference between the dates (2 days. 10 months. 3 years). > Or date_diff returns a string e.g ?> would output 3 days > -- > From: