The starting time and date is: 2007-12-31 23:59:59 and the end time is: 2018-03-06 17:44:09, I want to calculate the difference of hours between these dates. I thought that with the hour it was enough, but no, you have to calculate the days too
select TIMESTAMPDIFF(MINUTE, notificacion_update, now()) as horas from notificacion;
This does not work, just calculate minutes between 2 different hours.