Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: What is the best way to get a list of all Mondays until the end of the year?

by Anonymous Monk
on Aug 19, 2008 at 11:54 UTC ( [id://705187]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What is the best way to get a list of all Mondays until the end of the year?
in thread What is the best way to get a list of all Mondays until the end of the year?

one-liner version
perl -MDateTime::Event::Recurrence -le " print $_->ymd, chr(32) for +DateTime::Event::Recurrence->weekly->as_list( start => DateTime->new +( year => 2008 ), end => DateTime->new ( year => 2009 ) ); " perl -MDateTime::Event::Recurrence -le ' print $_->ymd, chr(32) for +DateTime::Event::Recurrence->weekly->as_list( start => DateTime->new +( year => 2008 ), end => DateTime->new ( year => 2009 ) ); '
  • Comment on Re^3: What is the best way to get a list of all Mondays until the end of the year?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-20 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found