[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl leap year function?



On Wed, Sep 01, 1999 at 12:55:41AM -0700, Aaron Van Couwenberghe wrote:
> Just a question -
> 
>   I need an algorithm that can match a number of days with any month. For
> this to be useful, I need a function that can tell me if it's a leap year
> this year.
> 
> Is there one available in any of the perl modules? If not I could just
> hardcode the next few into my script...

Date::Calc

Luck,
Pann
-- 
What's All the Buzz About Linux?                    L I N U X       .~.
                                                    The Choice      /V\
http://www.ourmanpann.com/linux/                     of a GNU      /( )\
                                                    Generation     ^^-^^


Reply to: