278
submitted 3 months ago by sag@lemm.ee to c/showerthoughts@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] bitfucker@programming.dev 3 points 3 months ago* (last edited 3 months ago)

...timestamp is signed? Why?

Edit: Oh damn, I never noticed that the timestamp is indeed signed. For anyone curious, it is mostly historical as early C didn't really have a concept of unsigned

[-] SteveTech@programming.dev 3 points 3 months ago

It also allows users to store dates back to ~1902.

this post was submitted on 20 Jul 2024
278 points (93.2% liked)

Showerthoughts

29525 readers
1509 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS