> > @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 ...:)
- [MacPerl-AnyPerl] input to formatted date allan
- Re: [MacPerl-AnyPerl] input to formatted date Scott R. Godin
- Re: [MacPerl-AnyPerl] input to formatted d... John Murray
- Re: [MacPerl-AnyPerl] input to formatt... John Murray
- Re: [MacPerl-AnyPerl] input to for... Christian Brechbuehler
- Re: [MacPerl-AnyPerl] input to formatt... Ronald J Kimball
- Re: [MacPerl-AnyPerl] input to for... John Murray
- Re: [MacPerl-AnyPerl] input to formatted date Scott R. Godin
- Re: [MacPerl-AnyPerl] input to formatted date Bart Lateur