| | So this is probably a basic and lame question, but how can I convert dates so I can then sort them? Right now, I have each part of a date as a separate variable: $month, $day, $year. I'd like to store them in the database as epoch. This way when I do a query I can sort them by date. I can figure out the datatype for the database later. I would also need to convert an epoch to Month-Day-Year later on when I want to display this. I'm sure this isn't too complicated but I figured asking for some suggestions anyway. Thanks! |

