Difference in minutes from two time fields in MySQL

For me this worked:

TIMESTAMPDIFF(MINUTE, T0.created, T0.modified)

Reference: https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_timestampdiff

Leave a Comment