i stedet for TIMEDIFF
brug DATEDIFF
med EXTRACT
SELECT DATEDIFF('2011-06-14 17:22:52', NOW()) * 24
+ EXTRACT(HOUR FROM '2011-06-14 17:22:52')
- EXTRACT(HOUR FROM NOW())
Tak @rekaszeru for nyttigt link
Alternativ løsning (få forskellen i sekunder )
SELECT TIMESTAMPDIFF(SECOND,NOW(),'2011-06-14 17:22:52');
Reference