laziness, impatience, and hubris | |
PerlMonks |
Re: Helpby marius (Hermit) |
on Dec 06, 2000 at 21:44 UTC ( [id://45249]=note: print w/replies, xml ) | Need Help?? |
Another thing to find out would be how your putting the date into the data file. That's something we would need to know to figure out the "prior date" portion. I can't come up with a quick non-CPAN way to do that to cover Dec 31 -> Jan 1 changes, and also lastday(month)->firstday(nextmonth) changes. Any folks have any ideas on how to parse the date, assuming they're stored as MM/DD/YYYY (if they're separated fields, they can be join()'d, and if DD/MM/YYYY or some other format, it should be easily changable to MM/DD/YYYY)? Dates are probably one of the most irritating things when it comes to programming. =] -marius
In Section
Seekers of Perl Wisdom
|
|