in reply to Trying to order by date

It's probably easiest to use an UNSIGNED INT field and just store a unix timestamp. I believe mySQL has a UNIX_TIMESTAMP() function, or you can store the current time() from Perl.