Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to get last day of 2 months ago

by Anonymous Monk
on Mar 11, 2011 at 17:01 UTC ( #892698=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    
    say "Today is " . localtime;
    say join "\n", $start, $end;
    
  2. or download this
    Today is Fri Mar 11 11:56:50 2011
    Mon Jan 31 00:00:00 2011
    Mon Feb 28 00:00:00 2011
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-08-23 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls