dbmathis has asked for the wisdom of the Perl Monks concerning the following question:
I am working on a utility for work and I have run into a slight problem.
I have two dates that look like 2007-11-23 and 2008-04-12. What I need to do is increment by day starting with 2007-11-23 and then load an array with ever date between and including the two dates above.
How would I do this with the standard perl modules?
Thanks
David Mathis
So the end result would be an array with one date per element of the array like:
2007-11-23
2007-11-24
2007-11-25
...
...
...
2008-04-11
2008-04-12
I was able to figure this out using Date::Calc but this util will be on 50 other servers that I have no access to install the Date::Calc module.
|
|---|