in reply to Convert month number to month name
use warnings; use strict; use Time::Piece qw(); use Time::Seconds qw(ONE_WEEK); my $t = Time::Piece->new(); my $future_date = $t + ONE_WEEK * 3; my $converted_date = $future_date->strftime('%B %d, %Y'); print "Converted Date = $converted_date\n"; __END__ Converted Date = December 03, 2014
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Convert month number to month name
by Anonymous Monk on Nov 12, 2014 at 15:18 UTC |