Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: convert month number to month name

by Shaveta_Chawla (Sexton)
on Aug 30, 2012 at 09:53 UTC ( #990703=note: print w/replies, xml ) Need Help??


in reply to convert month number to month name

Another method which can be used is
$YEAR=`date "+%Y"`; #for year $month=`date "+%b"`; #convert numeric month to month name $DAY=`date "+%d"`; #for date

Replies are listed 'Best First'.
Re^2: convert month number to month name
by Anonymous Monk on Aug 30, 2012 at 12:57 UTC

    ... which fails in a Windows-environment. There the command date expects a new date as user-input.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990703]
help
Chatterbox?
thezip is randomly reminded of Hugo's_house_of_ho rrors
[LanX]: such much?
[LanX]: We are speaking nothing but english now...
erix never really understood the need for rhyming slang

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2017-03-24 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (305 votes). Check out past polls.