View

obtener la diferencia entre 2 fechas – Mysql

Note

a partir de mysql 5.0

  1. SELECT TIMESTAMPDIFF(DAY,‘2005-01-02’,‘2006-01-08’);

You may also like