Interesting Links for 16-03-2026
Mar. 16th, 2026 12:00 pm- 1. Royal Mail The Lord of the Rings Stamps
- (tags:lotr movies royalmail )
- 2. UK government to launch £1bn plan to tackle youth unemployment
- (tags:unemployment apprentices uk )
- 3. Excel incorrectly assumes that the year 1900 is a leap year (I've been using it for over 35 years and had no idea)
- (tags:excel date history computers )
- 4. Scientists create first-of-its-kind 'hexagonal diamond' harder than real thing
- (tags:diamonds materials )
Excel incorrectly assumes that the year 1900 is a leap year
Date: 2026-03-16 01:29 pm (UTC)What I hadn't realised is that Excel can't represent dates before Jan 1900 at all. It represents dates as number of days since 1900, and apparently it still does. So it's not much different saying it can't represent dates before Mar 1900.
That's why changing the leap year in 1900 would screw up later dates. I'm not sure it's *impossible* to change that. Eg the sheet could have metadata saying which date system it uses, and it could be old-style 1900 (with fake leap year), old-style 1904, or new-style 1900 (with correctly no leap year, and knowing about negative numbers).
Re: Excel incorrectly assumes that the year 1900 is a leap year
Date: 2026-03-16 02:07 pm (UTC)I didn't realise it didn't support dates before 1900!
no subject
Date: 2026-03-16 03:24 pm (UTC)Re: Excel incorrectly assumes that the year 1900 is a leap year
Date: 2026-03-16 04:08 pm (UTC)Re: Excel incorrectly assumes that the year 1900 is a leap year
Date: 2026-03-16 04:11 pm (UTC)Maximum year Excel allows is 10,000, apparently.
Re: Excel incorrectly assumes that the year 1900 is a leap year
Date: 2026-03-16 05:45 pm (UTC)It seems like in Excel you can literally type in a number and change the cell to a date and see what date it thinks it is. I'm not sure I can believe this, but it seems like "1" is "1 Jan 1900", "0" is "0 Jan 1900", and -1 doesn't display.
Google sheets seems to represent dates in a very similar way except that for some unholy reason, it seems like "2" is "1 Jan 1900", 1 is "31 Dec 1899", and 0 is "30 Dec 1899". And it does use negative numbers to represent older dates. It seems to get leap years correct. I assume it uses gregorian dates indefinitely into the past, ignoring any calendar changes etc. But it seems that 2-693,500.00" is "Apr/4/0001". "-693,600.00" is "Dec/25/0000" (which doesn't exist in regular calendars). And "-694,000.00" is "Nov/21/00-1"!