mysql time functions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

This represents 2 fields in a mysql database
[login] => 2005-08-22 18:04:41
[logout] => 2005-08-22 18:05:08

I want to find out the difference between these 2 times.
I don't have access to  mysql's DATEDIFF function.

How do I do this ? Its there perhaps, a web page that explains how ?
I have looked at the date and time functions of the  mysql manual but i
don't understand it.

Re: mysql time functions

Quoted text here. Click to load it

You could calculate the difference yourself:


Met vriendelijke groeten,
Tim Van Wassenhove <

Re: mysql time functions

Tim Van Wassenhove wrote:
Quoted text here. Click to load it
Thanks, that works.

Site Timeline