php-general | 2001122
Date: 12/31/01
- Next message: LaserJetter: "[PHP] What the hell?!?!"
- Previous message: Michael Sims: "Re: [PHP] Testing: DON'T Ignore This Message"
- Next in thread: George Nicolae: "[PHP] Re: Getting elapsed time between two MySQL time fields"
- Reply: George Nicolae: "[PHP] Re: Getting elapsed time between two MySQL time fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have some records in a MySQL database that store a start and stop time. In
my display page that displays the record info I would like to use PHP to
find the elapsed time between the two fields. So if I had;
Start 13:44:20
Stop 13:49:25
Possibly use a function to calculate
Elapsed 5:05
Do I need to do this in MySQL?
Thanks,
Tom
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: LaserJetter: "[PHP] What the hell?!?!"
- Previous message: Michael Sims: "Re: [PHP] Testing: DON'T Ignore This Message"
- Next in thread: George Nicolae: "[PHP] Re: Getting elapsed time between two MySQL time fields"
- Reply: George Nicolae: "[PHP] Re: Getting elapsed time between two MySQL time fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

