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

perl leap year function?

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...

..Aaron Van Couwenberghe... ..vanco@sonic.net.. ..aaronv@debian.org....
	Berlin:			http://www.berlin-consortium.org
	Debian GNU/Linux:	http://www.debian.org

There are three kinds of people in this world: those who can count and
	those who can't.

Reply to: