Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Date formatting

by xdg (Monsignor)
on Jun 30, 2003 at 14:00 UTC ( [id://270170]=note: print w/replies, xml ) Need Help??


in reply to Re: Date formatting
in thread Date formatting

More specifically, with Date::Manip, you can parse and reformat with a single function call:

$ perl -MDate::Manip -le 'print UnixDate("06/07/2003","%Y-%m-%d");' 2003-06-07

-xdg

Code posted by xdg on PerlMonks is public domain. It has no warranties, express or implied. Posted code may not have been tested. Use at your own risk.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found