I have a table with 10000 records . Each data have a time of creation. I can use PHP time() function or as Mysql Timestamp (DATETIME '0000-00-00 00:00:00'). I want to know which method increase the performance of select queries? For example
Select * FROM MYDB WHERE datefield>1343821692 ORDER BY datefield DESC
or
Select * FROM MYDB WHERE datefield>'2012-08-01 13:41:1' ORDER BY datefield DESC
Please note that question bases on differences of INT sorting instead of DATETIME order. Also differences on restrictions.