Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Coolest way to decode YYYYMMDD?

by gurpreetsingh13 (Scribe)
on Jun 05, 2013 at 07:04 UTC ( #1037143=note: print w/replies, xml ) Need Help??


in reply to Coolest way to decode YYYYMMDD?

If you are on unix or something similar, simply without using DateTime object - use this one liner
perl -e 'print `date --date="19830501" +\%b\\ \%d\\,\%Y`;'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037143]
help
Chatterbox?
[Discipulus]: tybalt89 you must consider writing a book: The Perl regex approach to every problem

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-11-23 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (331 votes). Check out past polls.

    Notices?