this post was submitted on 05 Jul 2026
441 points (98.7% liked)
Programmer Humor
32420 readers
981 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's the zeroth date.
What's the first one then?
As the epoch is signed, the first date might refer to December 1901, at least for a 32-bit number.
If it’s seconds past the Epoch, the integer 1 would be January 1st, 1970 12:00:01 AM
I guess which it should be date 1. With the date expressed in milliseconds that'd make it 999 milliseconds earlier than what you wrote.
12:00:01 would be the time at which the guy finally came.
In java LinkedList, the method .get(0) is equivalent to .getFirst().
This is a good point. Even in a zero-based index, the first element is the first element. So, the first date is still a zero timestamp.