Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: DateTime formatting problem

by PerlSufi (Pilgrim)
on Apr 30, 2013 at 17:54 UTC ( #1031441=note: print w/ replies, xml ) Need Help??


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..


Comment on Re: DateTime formatting problem
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-08-22 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (157 votes), past polls