weird@sub.wetshaving.social to Programmer Humor@programming.devEnglish · 5 天前Use protectionNSFWsub.wetshaving.socialimagemessage-square17fedilinkarrow-up1470
arrow-up1470imageUse protectionNSFWsub.wetshaving.socialweird@sub.wetshaving.social to Programmer Humor@programming.devEnglish · 5 天前message-square17fedilink
minus-squareblackbeans@lemmy.ziplinkfedilinkarrow-up8·5 天前As the epoch is signed, the first date might refer to December 1901, at least for a 32-bit number.
minus-squareSystemDisc@feddit.orglinkfedilinkEnglisharrow-up5·4 天前If it’s seconds past the Epoch, the integer 1 would be January 1st, 1970 12:00:01 AM
minus-squareOddMinus1@sh.itjust.workslinkfedilinkarrow-up3·4 天前In java LinkedList, the method .get(0) is equivalent to .getFirst().
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
deleted by creator
In java LinkedList, the method .get(0) is equivalent to .getFirst().