learingperl01
MIS
Hello with the code shown below how would I format it to remove the dashes/hyphens from the date?
print 2008-08-02
How would I print the date without the dashes(-)
20080802
thanks
Code:
my $dt = DateTime->now()->subtract( days => 3 );
my $date = $dt->ymd();
print "$date", "\n";
print 2008-08-02
How would I print the date without the dashes(-)
20080802
thanks