r/AskComputerScience • u/grawmpy • Dec 09 '25
32-bit computers hit a time calculation wall in 2038. Will they most likely all be phased out by then?
The wall hits 03:14:07 UTC on Tuesday, January 19, 2038. After this the time calculation will roll back over to either December 13, 1901 or January 1, 1970 depending on the implementation. Does anyone think 32-bit architecture computers will still be in service by 2038?
144
Upvotes
View all comments
Show parent comment
1
u/flatfinger Dec 09 '25
Prior to Javascript, VB6 (Visual BASIC 6) used double-precision floating-point values for dates/times as well. If I recall, each unit represented 86,400 seconds. This could accommodate sub-second accuracy even though there was no integer data type bigger than a 32-bit signed integer. Like it or not, a lot of production code was written in that.