Re: [MacPerl-AnyPerl] input to formatted date
[email protected] ("John Murray") Tue, 13 Mar 2001 14:16:27 +1100
| Newsgroups | perl.macperl.anyperl |
|---|---|
| Message-ID | <00f001c0ab6b$fe9371a0$535323cb@opalintel> |
> > @daynames = ('mon','tue','wed','thu','fri','sat','sun');
> > @monthdays = (31,58,89,119,150,180,211,242,272,303,333,364);
>
> Given that there are 365 days in a year, not 364, I think something is
> amiss.... Specifically, you've added 27 days for February, instead of 28.
>
> Anyway, I would suggest using one of the Time or Date modules for this.
oops .. my baby boy was born feb 27 ... I guess that number got burnt into
my brain as the beggining of something ...:)