SELECT TIMESTAMPDIFF(DAY,'2005-01-02','2006-01-08');