• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Year 10000 - 5 digit format.

Thread starter #1


Well-Known Member
Can there be impact to computer systems and programs if clock stucks at 01-01-10000?
31st Dec 9999 is last day of the Year 9999. Can be represented also by
There's plenty of time to sort things out before we have another panic, like we had with the Y2K "bug".

Cross-posted with Dr_Doggy.
The next major computer time problem is likely to be rather sooner than that, in 2038; just 19 years.

That's when any system still using the UNIX time format, stored as seconds since 1st Jan 1970 in a 32 bit signed integer, overflows and either starts again at 1970 or decides time is negative and just bombs out..

03:14:07 UTC on 19 January 2038, to be exact.

The fixes are either:
Make the seconds storage unsigned - which delays the overflow until 06:28:15 UTC on Sunday, 7 February 2106 but is fairly trivial in software.

Or, change from a 32 bit variable to 64 bit. That assumes the system or device can handle 64 bit maths, which many smaller embedded devices may have problems with..
That's the preferred change and allows time in seconds to be counted for more that the expected life of the universe....

It could certainly handle the year 10000, just needing a formatting change (if people are still even using decimal digits by then?)

EE World Online Articles