Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Fast(er) date parsing

by spoon! (Initiate)
on Nov 07, 2005 at 05:07 UTC ( [id://506228]=note: print w/replies, xml ) Need Help??


in reply to Fast(er) date parsing

I think the POSIX::strptime module is what you're looking for. It has an strptime() function that acts as the inverse of strftime():
use POSIX::strptime; use Time::Local; my $result = timelocal strptime $d, '%a %b %e %H:%M:%S %Y';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506228]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-20 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found