mysql: check if interval between two dates is less than 1 second

Posted by jonny on Stack Overflow See other posts from Stack Overflow or by jonny
Published on 2010-03-24T07:12:35Z Indexed on 2010/03/24 7:23 UTC
Read the original article Hit count: 187

Filed under:
|
|

Ok, I need something like this:

datediff(second, date_one, date_two) < 1

dates are stored in a column 'datetime' type

© Stack Overflow or respective owner

Related posts about mysql

Related posts about datetime