jack: (Default)
From: [personal profile] jack
I vaguely remembered this but hadn't realised it was still true.

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).
jack: (Default)
From: [personal profile] jack
Now I looked up what google sheets does and I have no idea.

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"!
channelpenguin: (Default)
From: [personal profile] channelpenguin
didnt it also at one time not do later than 2035? Or maybe still? I cant recall...

Date: 2026-03-16 03:24 pm (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi
It's not Excel, it's the cultural level of many American C programmers.
Edited Date: 2026-03-16 03:25 pm (UTC)

Date: 2026-03-17 12:55 am (UTC)
bens_dad: (Default)
From: [personal profile] bens_dad
Ah.
I am transcribing C19 cemetry records and noticed that the dates did not work when I converted the file from Gnumeric to Excel.
My work around is to use a string, which also allows me to preserve the spelling of abbreviations.
However, my colleague says he can enter C19 dates in Excel !

Date: 2026-03-17 04:59 pm (UTC)
hilarita: stoat hiding under a log (Default)
From: [personal profile] hilarita
While formatted as dates not strings? Gosh.

April 2026

S M T W T F S
    1 2 34
567891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 7th, 2026 05:44 pm
Powered by Dreamwidth Studios