Revision: 1875
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 17, 2006 03:31 by wolfie
Initial Code
SELECT unix_timestamp(current_timestamp) - unix_timestamp(time_field) AS timediff FROM table_name;
Initial URL
Initial Description
This will return the number of seconds between now and when the time field was inserted.
Initial Title
How to determine a timeout using unix time in mysql
Initial Tags
mysql, sql
Initial Language
SQL