Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[ovedpo15]: Asking for the wisdom of Perl Monks in the following question about JSON module:
[ovedpo15]: http://www. perlmonks.org/? node_id=1213478

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-04-24 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?