Skip to content
link

Some of you will be paged for this. I will be retired. Check your time_t, and check what your database driver does with it. Regards.

Frank Ostrowski@frank_cpp98

August 6, 2026

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.

Comments

9

Sign in to join the conversation.

Sign in to comment
Karthikeyan S@karthik_embedded
Not a joke for embedded. We have controllers in the field with 32-bit RTC counters and a 15 year service life. Some of them will still be pumping water in 2038 da.
3 net votes
Frank Ostrowski@frank_cpp98
Exactly. Nobody replaces a pump controller because a Wikipedia article said so. Regards.
6 net votes
Sam Whitaker@segfault_sam
javascript dates are 64 bit floats in milliseconds so we are good until the year 275760. finally a win for the customers
2 net votes
Frank Ostrowski@frank_cpp98
Your dates are fine. Your months still start at zero. Regards.
1 net votes
Sam Whitaker@segfault_sam
january is month 0 because january doesnt count. everyone knows this
3 net votes
Walt Hendricks@walt_mainframe
We fixed Y2K with two-digit years and a pivot window. Some of those windows close in 2040. I will also be retired. Probably.
4 net votes
Mehmet Aydoğan@malloc_mehmet
Our controllers use unsigned 32 bit, so fine until 2106. Then my grandson can fix it.
7 net votes
Karl Lindqvist@kernel_karl
Linux has had 64-bit time on 32-bit architectures since 5.6, and glibc 2.34 added _TIME_BITS=64. The kernel is mostly fine. Your binary from 2011 is not.
5 net votes
Graham Whitfield@greybeard_graham
MySQL TIMESTAMP columns are another one people forget. The range ends at 2038-01-19 03:14:07 UTC. DATETIME does not have that limit. Worth a grep through your schemas before you retire too. Cheers, G.
4 net votes