No binary day!
|
Author | Content |
---|---|
theBeez Oct 11, 2010 12:47 PM EDT |
It were idiots that limited the year to two figures. It were idiots that didn't format the date correctly like it should (yyyy-mm-dd) that caused so many problems for us programmers (sorting doesn't work correctly otherwise). So let's not follow the idea of a "binary" day. Is isn't and it won't be until 10000-01-01. However, in a 20bit field you can encode a date easily using REAL binary! Which makes every day a binary day! |
gus3 Oct 11, 2010 2:00 PM EDT |
Yeah, yeah, yeah. Whatever. Happy 10-11-10 (46 decimal) Day. |
r_a_trip Oct 11, 2010 3:34 PM EDT |
Weird. I just thought it was my birthday :P |
tracyanne Oct 11, 2010 5:11 PM EDT |
Over here it was 11-10-10 go figure |
gus3 Oct 11, 2010 5:32 PM EDT |
So, 58 Day in Australia, and 43 Day in Japan. |
Scott_Ruecker Oct 12, 2010 12:46 AM EDT |
And here I thought it was just Monday.. |
theBeez Oct 12, 2010 3:02 AM EDT |
"It might seem like cheating a little bit to use a two-digit year, but I'll worry about Y3k later." Wrong again. The next wraparound is not in 2999, but 2099. So it should say: Y21h (K is wrong too, because the SI clearly states "k", not "K"). BTW, I leave the POSIX wraparound for what it is. Hopefully we've converted to 64bit by then. |
gus3 Oct 12, 2010 3:19 AM EDT |
"Those who do not know history, are doomed to repeat it." Hopefully, 50 years from now, programmers will have re-discovered the art of efficient computing, and will once again be using two digits for the year. |
ComputerBob Oct 12, 2010 8:19 AM EDT |
It must have been a slow news day. |
Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]
Becoming a member of LXer is easy and free. Join Us!