Você está procurando por UNIX_TIMESTAMP() . Consulte:http:/ /dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_unix-timestamp