I have an apache log that stores date/time like this (which is also how it looks in my $var; square brackets and all):
[26/Mar/2009:12:12:48 -0500]
I am attempting to use Date::Parse.
http://search.cpan.org/~gbarr/TimeDate-1.16/lib/Date/Parse.pm
But it doesn't seem to support the format I am in. I am horrible and regular expressions and need some help/suggestions at converting the date above.
This is so I can compare dates from a table that stores dates like:
2009-03-27 14:18:40
<edit> Nevermind. I made a mistake. Didn't mean to post this, sorry. Can delete it.