more useful options | |
PerlMonks |
A question to iterator in Datetime::Event::Recurrenceby vagabonding electron (Curate) |
on Apr 11, 2012 at 09:31 UTC ( [id://964486]=perlquestion: print w/replies, xml ) | Need Help?? |
vagabonding electron has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I try to iterate over the generated set of datetimes in the following way: This works. What I need however is to generate only the hours between 07:00:00 and 22:00 :00. I tried but this brings an error message "invalid argument 'hours' " - apparently one can use only the next low time step since it works with minutes=>[10, 30] for example. I have not much experience with Datetime modules yet. Please give me a hint. Thanks in advance. VE
Back to
Seekers of Perl Wisdom
|
|