Re: calculate 2 times

From: Date: Wed, 23 Jan 2002 15:04:52 +0000
Subject: Re: calculate 2 times
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81690@lists.php.net to get a copy of this message
Martin, This is a FAQ. To save the list members' patience, I'll send you my previous answer privately. =dn ----- Original Message ----- From: "Martin E. Koss" <mek@mek.co.uk> To: <php-general@lists.php.net> Sent: 23 January 2002 12:22 Subject: [PHP] calculate 2 times > > Hi. I've been trying to get the difference between a $StartTime and $EndTime > for the past couple of hours... failing miserably.. and I have rtfm! > Obviously I'm missing something. > > The format of the data stored in the database is: > hh:mm:ss (eg: 17:22:17) 24hr time. > > The $EndTime may only be a few seconds or may be several hours different > from the $StartTime. I need to display the difference in the same format > (hh:mm:ss). > > Can someone please help? > > Martin E. Koss > E: mek@mek.co.uk > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#81690) next »