Transmit Report:
To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
--- Begin Message ---
BEOI 7308 wrote:
> Hi
>
> I want to substract $first_date to $second_date and print the result
> this way :
>
> xx days, xx hours, xx minutes
>
> i tried (strtotime($second_date)-strtotime($first_date)) but what i
> get is a timestamp and i dont know what to do with it
>
> Is there already a function to print the result in a human readable
> way ?
>
> Thx
http://www.php.net/date
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---