aliquote.org

January 14, 2022

Halfway through my RSS reading list of the week. It’s amazing how much I learn from all those posts, even if I don’t necessarily have enough time to recollect all the interesting stuff I read. I should take more note, but I’ve became so lazy lately.

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! — YYMMDDHHMM just overflowed a signed 32 bit int