No binary day!
|
Author | Content |
---|---|
theBeez Oct 11, 2010 10:47 AM CST |
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 12:00 PM CST |
Yeah, yeah, yeah. Whatever. Happy 10-11-10 (46 decimal) Day. |
r_a_trip Oct 11, 2010 1:34 PM CST |
Weird. I just thought it was my birthday :P |
tracyanne Oct 11, 2010 3:11 PM CST |
Over here it was 11-10-10 go figure |
gus3 Oct 11, 2010 3:32 PM CST |
So, 58 Day in Australia, and 43 Day in Japan. |
Scott_Ruecker Oct 11, 2010 10:46 PM CST |
And here I thought it was just Monday.. |
theBeez Oct 12, 2010 1:02 AM CST |
"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 1:19 AM CST |
"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 6:19 AM CST |
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!