Re: Date comparison Question

From: Date: Mon, 07 Apr 2008 17:04:18 +0000
Subject: Re: Date comparison Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-272671@lists.php.net to get a copy of this message
On Mon, Apr 7, 2008 at 1:03 PM, <admin@buskirkgraphics.com> 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!

« previous php.general (#272671) next »