How to get the number of days of difference between two dates on MySQL
https://stackoverflow.com/questions/2490173/how-to-get-the-number-of-days-of-difference-between-two-dates-on-mysql
WEBApr 15, 2010 · DATEDIFF () returns expr1 – expr2 expressed as a value in days from one date to the other. expr1 and expr2 are date or date-and-time expressions. Only the date parts of the values are used in the calculation. In your case, you'd use : mysql> select datediff('2010-04-15', '2010-04-12'); +--------------------------------------+.
DA: 36 PA: 58 MOZ Rank: 71