Leap year - every four years?

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Okie4570

Sharpshooter
Staff Member
Special Hen Moderator Moderator
Joined
Nov 28, 2010
Messages
23,856
Reaction score
27,576
Location
NWOK
because we aren’t a quarter of a day off every year, so that has to be made up for too. So 2100, 2200, 2300 aren’t leap years but 2000 and 2400 are. One of many reason date/times are hard in programming.

Note, to everyone, there is no such thing as daylight savings time. Common mistake, it’s daylight saving time. You horde daylight for a rainy day. Good thing or think how much cheaper than dirt would charge for daylight on cloudy days or winter.

365.2422 days per year I thought
 

rickm

Sharpshooter
Special Hen
Joined
Aug 14, 2012
Messages
3,344
Reaction score
4,568
Location
Durant
When you live by daylight til dark thirty who cares what the clock says it is.
I went to school with a girl that was born on leap day we always gave her hell about it.
 

MacFromOK

Sharpshooter
Special Hen
Joined
May 11, 2016
Messages
13,759
Reaction score
14,761
Location
Southern Oklahoma
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.

:drunk2:
 

TerryMiller

Sharpshooter
Special Hen
Joined
Jun 4, 2009
Messages
19,921
Reaction score
20,793
Location
Here, but occasionally There.
When you live by daylight til dark thirty who cares what the clock says it is.
I went to school with a girl that was born on leap day we always gave her hell about it.

As Louis L'Amour used to write in his books, the people of the old west worked from "can see to can't see." I'll add that they probably started doing chores and feeding of animals even before light.
 
Joined
Dec 9, 2008
Messages
87,575
Reaction score
69,722
Location
Ponca City Ok
As Louis L'Amour used to write in his books, the people of the old west worked from "can see to can't see." I'll add that they probably started doing chores and feeding of animals even before light.
My retirement mantra is that I go to bed when tired and wake up when not tired no matter what the clock says.
 

Latest posts

Top Bottom