Re: Date comparison Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 7, 2008 at 1:03 PM,  <admin@xxxxxxxxxxxxxxxxxxx> wrote:
> Dan I made a solution as below.
>
>
>  $time1 = strtotime("$sqldata[CaldTime]");
>  $time2 = strtotime("$sqldata[CallEnd]");
>  $interval = $time2 - $time1;
>  $TLength = date("i:s", strtotime("2008-01-01 01:00:$interval"));
>
>  Result 01:45
>
>  Works perfect for me. Do you agree or disagree dan?

    There ya' go!

-- 
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux