5

YYMMDDHHMM just overflowed a signed 32 bit int

 2 years ago
source link: http://rachelbythebay.com/w/2022/01/01/baddate/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

YYMMDDHHMM just overflowed a signed 32 bit int

I guess I've turned into a collector of numbers that break things sometimes. Here's another one I just heard about, and it's directly related to what just happened with the calendar.

YYMMDDHHMM ... will no longer fit into a signed 32 bit number.

The last value for last year is December 31, 2021 at 23:59, and in this format it becomes 2112312359. That just fits into a signed 32 bit number (which tops out at 2147483647).

The first value for this year is January 1, 2022 at 00:00, which turns into 2201010000, and that does not fit!

So, if you're using Microsoft Exchange and stopped getting your mail in the past couple of hours, this is why!

Really! No joke!

Happy 2022, everyone.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK