Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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


Comment on Re^2: convert month number to month name
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (16)
As of 2015-07-02 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (39 votes), past polls