Suport SQLite de la fonction mysql TIMESTAMPDIFF
https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_timestampdiff