Mysql
 sql >> Base de données >  >> RDS >> Mysql

diff de date, y compris l'heure

Utilisez TIME_TO_SEC

SELECT TIME_TO_SEC(TIMEDIFF('2011-02-14 13:05:06','2011-02-15 13:06:06'))/86400;