Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Date conversion to epoch w/out

by suaveant (Parson)
on Jan 05, 2006 at 16:50 UTC ( #521270=note: print w/replies, xml ) Need Help??

in reply to Date conversion to epoch w/out

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.

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on Re: Date conversion to epoch w/out

Replies are listed 'Best First'.
Re^2: Date conversion to epoch w/out
by vek (Prior) on Jan 06, 2006 at 16:11 UTC

    suaveant, yes Time::Local is indeed in the Perl core.

    -- vek --

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://521270]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-07-20 18:55 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (313 votes). Check out past polls.