I have a MySQL table with a localtime column. Currently it is setup as localtime() but I'd really rather call it as a string ($now_string = localtime).
Either way, how do I determine 24 hours ago from localtime? I want to delete all rows from my database that are 24 hours or older.