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


in reply to DateTime formatting problem

I found that changing
my $start_date = DateTime->today->subtract( months => 1); $start_date->strftime("%m%d%y");

to
my $start_date = DateTime->today->subtract( months => 1)->strftime("%m +%d%y");

worked..