Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: DateTime formatting problem

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

Help for this page

Select Code to Download


  1. or download this
    my $start_date = DateTime->today->subtract( months => 1);
    $start_date->strftime("%m%d%y");
    
  2. or download this
    my $start_date = DateTime->today->subtract( months => 1)->strftime("%m
    +%d%y");
    

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 avoiding work at the Monastery: (4)
As of 2015-07-28 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls