Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: convert month number to month name

by johngg (Abbot)
on Aug 30, 2012 at 08:12 UTC ( #990681=note: print w/replies, xml ) Need Help??


in reply to Re: convert month number to month name
in thread convert month number to month name

POSIX is a core module so strftime() is available without the need to install any modules from CPAN.

$ perl -E ' > use POSIX qw{ strftime }; > say strftime q{%b}, localtime( time() );' Aug $

Cheers,

JohnGG

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990681]
help
Chatterbox?
[choroba]: Good morning!
[Discipulus]: good morning choroba!
[Corion]: Hi choroba, Discipulus! I hope you had a good weekend
erix looks for a red-herring joke but can't find one
Discipulus has worked physically and he rediscovered he is no more wont..

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-01-23 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.