|We don't bite newbies here... much|
A date calculationby crawfordr (Acolyte)
|on Dec 18, 2007 at 21:30 UTC||Need Help??|
crawfordr has asked for the
wisdom of the Perl Monks concerning the following question:
The following date calculation is being run from a unix script. It is calculating the incorrect date. We use the calculation to determine a date fro our billing system. The code has been calculating the date correctly until today when it was run to calculate a January 2008 date.
Here is the code:
It is currently producing 071201 and it should be calculating 080101.
We need this relatively quickly. I would very much appreciate any help whatsoever. You guys are great.
Edit: g0n - code tags and formatting