calculate 2 times
| From: | Martin E. Koss | Date: | Wed, 23 Jan 2002 12:22:57 +0000 |
| Subject: | calculate 2 times | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81668@lists.php.net to get a copy of this message | ||
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