datetime.

Thanks

Jim Lucas wrote:

what type of format does your column take?

date
time
datetime

??

Jim Lucas
----- Original Message ----- From: "Jack Sasportas" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 2:11 PM
Subject: [PHP] Need a function to calculate time difference.





I am trying to find a function or information on how to properly take a start time and an end time from mysql timestamps in order to calculate time taken.
So in theory $endtime-$starttime = timespent.


It would be great if this understood that 11:55 pm til 12:10am one day apart only equals 15 minutes.

Links, example code etc would be great!

Thanks


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php












-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to