Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Leap Year

by mojotoad (Monsignor)
on Aug 12, 2003 at 06:41 UTC ( [id://283095]=note: print w/replies, xml ) Need Help??


in reply to How do I determine if a given year is a leap year?

DateTime offers an is_leap_year method for datetime objects.

They also provide leapsecond information via the DateTime::LeapSecond class, if you're into that.

Matt

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://283095]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-29 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found