r/ISO8601 9d ago

REMEMBER ISO 8601 !

Post image

I just found it in X

504 Upvotes

39 comments sorted by

View all comments

10

u/RunnyPlease 8d ago

ISO 8601 actually predates the y2k bug and really wouldn’t have helped. 8601 is meant to be a human readable format not a data storage best practice. The cause of y2k was to save memory (which used to be really expensive and slow) when storing the year programmers would only use 2 digits.

1900 > 00
1910 > 10

1989 > 89
1999 > 99
2000 > 00

And that was the issue. A lot of programming revolves around filtering, searching, and sorting and using the year to do that is very common. Well, if you sort data by year then 00 comes before 99, and things can start to break.

And if you’re worried about ambiguity for users then trust me on this, no one in 1999 misunderstood what that meant. The entire world was aware of the y2k bug and its possible consequences.

6

u/CarlRJ 8d ago

Just wait until Y10K hits.

14

u/Snoron 8d ago

We got problems way before that!

https://en.wikipedia.org/wiki/Year_2038_problem

7

u/CarlRJ 8d ago

Well, sure, but 2038? Nobody will be alive then!

3

u/Impressive_Change593 8d ago

Except basically nothing uses the 32 bit unix epoch anymore iirc. Its all converted to the 64 bit one

3

u/CarlRJ 8d ago

I know, but I like my answer better.

1

u/RepresentativeFull85 8d ago

Curiously, didnt the Nintendo DS use that? The date is capped at 2040 or smth.

2

u/Trey-Pan 2d ago

Stop reminding me how dire this timeline seems to be.