Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: RE: RE: simple stupid time question

by spudzeppelin (Pilgrim)
on Sep 14, 2000 at 18:53 UTC ( [id://32468]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: simple stupid time question
in thread simple stupid time question

Nope, you can't have a 30-day February specifically because the construct actually looks like:

if ((($year % 4) = 0) && (($year % 100) != 0)) { $feb += 1; } #leap year elsif (($year % 400) = 0) { $feb +=1; } #leap century

So, since a regular "leap year" doesn't occur at the end of a century, the two conditions are never simultaneously satisfied.

Spud Zeppelin * spud@spudzeppelin.com

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found