I think this is a mysql question
| From: | Ronald Ramos | Date: | Thu, 12 Feb 2004 00:59:38 +0000 |
| Subject: | I think this is a mysql question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177466@lists.php.net to get a copy of this message | ||
How can I use PHP to compute the difference between two dates(with
time)?
Let's say in mysql, I have field 1, login, and on field 2, I have
logout.
How can I compute the diffrence between login and logut and output it on
field 3 let's say totaltime.
Is this a mysql question? Or can PHP actually do this?
TIA