http://www.perlmonks.org?node_id=990703


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.