this post was submitted on 12 Jun 2023
112 points (97.5% liked)

Programmer Humor

32143 readers
115 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago

Um, actually... A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)

[–] [email protected] 1 points 1 year ago

15 years to a new 2KBug

[–] [email protected] 0 points 1 year ago (1 children)

Wouldn't you end up in a year bevor 1970 with a signd int. Because you would get a negatvie number with an overflow. Or am I wrong ? (and yes I know it's a joke but I'm just wondering)

[–] [email protected] 1 points 1 year ago

They would end up in 1901.