2038 is closer than it seems
2038 is closer than it seems
Posted May 23, 2014 19:09 UTC (Fri) by kleptog (subscriber, #1183)Parent article: 2038 is closer than it seems
I suppose what you could do is change the definition to reduce the resolution. So after 2030 it starts counting at half speed. In 2034 at quarter speed, 2036 one-eighth speed, etc. If you fix the APIs for strftime, ctime, etc everything will be transparent for most programs except the resolution gets worse.
This of course screws people who do calculations on time_t though. You'll only see even seconds after that time. It might save you on file formats though. A sort floating point time_t...
