ciao,
devi usare le funzioni date/time:
http://dev.mysql.com/doc/refman/5.0/...functions.html