Comapare datatime field with current datetime in MySQL

Posted by rtacconi on Stack Overflow See other posts from Stack Overflow or by rtacconi
Published on 2010-04-13T17:09:38Z Indexed on 2010/04/13 17:13 UTC
Read the original article Hit count: 219

Filed under:

I have something like that:

to_days(now()) < to_days(birth)

It work but instead of comparing days I was to compare the time too. Is there a similar function?

© Stack Overflow or respective owner

Related posts about mysql