How to do time_to_minute in Mysql?
Seems pretty straightforward:
SELECT TIME_TO_SEC('00:00:1') / 60
mysql> SELECT TIMESTAMPDIFF(MINUTE,'2003-02-01','2003-05-01 12:05:55');
-> 128885
Source: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_timestampdiff