|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Prior Dateby djp (Hermit) |
| on Oct 03, 2007 at 05:52 UTC ( #642308=note: print w/ replies, xml ) | Need Help?? |
|
++ to the suggestions above. The first rule about calculatiing dates is: Don't Do It. It's complex, and someone else has done all the work for you. Use the OS (e.g. via POSIX::mktime, which normalizes the supplied date info), or someone else's work via a CPAN module.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||