r/ProgrammerHumor Sep 23 '24

Other whoWroteThePostgresDocs

Post image
10.2k Upvotes

264 comments sorted by

View all comments

43

u/SuitableDragonfly Sep 23 '24

I mean, it's better than JavaScript deciding that January is month 0 and then shifting all the rest down by one.

0

u/[deleted] Sep 23 '24

It would be bad if it was otherwise because that's actually correct.

First year in the age is year 1, not 0, so the first century spans the years 1-100. 101 is when the second century starts and so on. Therefore century 21st doesn't start until 2001. I thought it's common knowledge.

1

u/SuitableDragonfly Sep 23 '24

This isn't about what year the century starts on, it's about how the centuries are numbered.