I have been using the DATETIME feature for mysql for a while and I am now wanting to change my site to store date/time as a timestamp in a regular INT I have read that this will be better for performance and it seems it will since most of my time/date functions basicly take this vaue from the DB 2009-06-30 18:10:48 and translate it to a timestamp to messure time or change for timezone.
1 thing I am worried about is I currently use many things like thisd currently with datetime, this is a mysql query that deletes some records that are 10 days old, I love how simple it is to get records X amount of days old, how would I do the below code if there is no more datetime and it is stores as a regular timestamp in an INT?
delete from friend_bulletin where TO_DAYS(NOW()) - TO_DAYS(submit_date) >=10