Ver originalselect time_to_sec(TIMEDIFF('2010-11-30 01:24:21','2010-11-27 23:05:10')) / 3600/24 as n_dias