Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: RFC: List of first day of each month

by choroba (Cardinal)
on Jan 31, 2020 at 15:28 UTC ( [id://11112184]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($date <= $endDate) {
            say $date;
    ...
                     $date->year + ($date->mon == 12), $date->mon % 12 + 1
    +, 1),
                '%Y %m %d');
    }
    
  2. or download this
    while ($date <= $endDate) {
            say $date;
            $date += Time::Seconds::ONE_DAY * $date->month_last_day;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found