How to get the number of days of difference between two dates on mysql?

Posted by Audel on Stack Overflow See other posts from Stack Overflow or by Audel
Published on 2010-03-22T05:36:06Z Indexed on 2010/03/22 5:41 UTC
Read the original article Hit count: 300

Filed under:
|
|

I need to get the number of days contained within a couple of dates on mysql.

For example: Check in date 12-04-2010 Check out date 15-04-2010 and the day difference would be 3

I hope that was clear Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about date