Forums
New posts
Search forums
What's new
New posts
New media
New media comments
Latest activity
Classifieds
Media
New media
New comments
Search media
Log in
Register
What's New?
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More Options
Advertise with us
Contact Us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
The Water Cooler
Stupid Stuff
Leap year - every four years?
Search titles only
By:
Reply to Thread
This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Message
<blockquote data-quote="MacFromOK" data-source="post: 3515596" data-attributes="member: 40864"><p>Lol, this is kinda spooky... <img src="/images/smilies/biggrin.png" class="smilie" loading="lazy" alt=":D" title="Big Grin :D" data-shortname=":D" /></p><p></p><p>Just a couple days ago (literally this week) I was tinkering with a perpetual calender (plan on adding holiday capability from a text file), and saw my notes at the top of the code...</p><p></p><p>[code]</p><p>rem -- NOTE: The Gregorian calendar removes three leap days every 400</p><p>rem -- years, which is the length of its leap cycle. This is done by</p><p>rem -- removing February 29 in the century years (multiples of 100) that</p><p>rem -- cannot be exactly divided by 400. For example, the years 2000 and</p><p>rem -- 2400 are leap years, while 2100, 2200, and 2300 are common years.</p><p>[/code]</p><p></p><p><img src="/images/smilies/new/drunk.gif" class="smilie" loading="lazy" alt=":drunk2:" title="Drunk 2 :drunk2:" data-shortname=":drunk2:" /></p></blockquote><p></p>
[QUOTE="MacFromOK, post: 3515596, member: 40864"] Lol, this is kinda spooky... :D Just a couple days ago (literally this week) I was tinkering with a perpetual calender (plan on adding holiday capability from a text file), and saw my notes at the top of the code... [code] rem -- NOTE: The Gregorian calendar removes three leap days every 400 rem -- years, which is the length of its leap cycle. This is done by rem -- removing February 29 in the century years (multiples of 100) that rem -- cannot be exactly divided by 400. For example, the years 2000 and rem -- 2400 are leap years, while 2100, 2200, and 2300 are common years. [/code] :drunk2: [/QUOTE]
Insert Quotes…
Verification
Post Reply
Forums
The Water Cooler
Stupid Stuff
Leap year - every four years?
Search titles only
By:
Top
Bottom