in reply to Date conversion to epoch w/out mysql.pm
If you aren't averse to parsing the date yourself and converting it into numbers Time::Local will fix you right up... otherwise there are some Date modules out there that I believe can parse the date and then you can do conversions.
Pretty easy to parse that, however and turn Jan into 00 and PM into +12...
Update: Time::Local is a module, but I think it is in the Perl core.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Date conversion to epoch w/out mysql.pm
by vek (Prior) on Jan 06, 2006 at 16:11 UTC |
In Section
Seekers of Perl Wisdom