Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

DateTime formatting problem

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

Help for this page

Select Code to Download


  1. or download this
    use DateTime;
    use Date::Format;
    ...
    
    my $start_date = DateTime->today->subtract( months => 1);
    print $start_date->strftime("%m%d%y");
    
  2. or download this
    my $start_date = DateTime->today->subtract( months => 1);
    $start_date->strftime("%m%d%y");
    ...
    $mech->select("format", "2");
    $mech->click();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1031439]
Approved by moritz
help
Chatterbox?
[LanX]: ha ... just read an article saying that some US presidents in the past lost their nuclear codes
[LanX]: xD

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-01-20 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.