Tell me my eyes aren’t going… :-)
This entry was posted on Wednesday, July 21st, 2010 at 10:14 am and is filed under Random Sar is Random. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
1969 was a great time to be playing World of Warcraft. You weren’t playing back then?
Like or Dislike: 0 0
I’m sure you’ve been informed, but just to clarify for the peanut gallery – Blizzard counts dates as the number of days since January 1, 1970 (actually a multiple of the number of seconds since 1/1/70, but I digress). (This is standard; Unix programmers call it ‘epoch’.) Right now, it’s 1279707000 seconds since epoch (give or take a few, since I’m still typing), or 14811.4 days.
So it records the last day that someone was on, and then subtracts it from the current day to get the time since last login. (If it’s within 24 hours, it does the same thing with the time.) So if you last logged in on Sunday, the Unix time then was 1279447800 seconds since epoch, or 14808 days. 14811 – 14808 = Last seen 3 days ago.
(Actually, probably their code is set up to do the subtraction first and then calculate out the correct units for the distance – so 1279707000 – 1279447800 = 259200 seconds, or 4320 minutes, or 72 hours, or 3 days.)
Then along comes a bug that accidentally sets everyone’s “last seen date” to 0. (That is, 0 seconds since midnight on 1/1/70.) The code performs 1279707000 – 0 = 1279707000 seconds since last seen, which is 40.579 years, and it rounds to the closest integer to get 41 years.
Just so we’re all clear. :)
Chris Anthony´s last [type] ..Everyday Delight 4 – Comfort Edition
Aww look it is me :D
Yeah I noticed this last night too. You were one of the ones that was last online 41 years ago.
Cool to know there is a specific reason for it.
I’ve seen this happen to several people ^^ Where have all the pets gone that Blizzard hands out at their anniversaries?? I should at least have gotten 30 more :D
Sil´s last [type] ..Badges- good or not
Well done, i will keep reading your blog, great just great!
Powered by WordPress, Mandigo theme by tom.
and Comments (RSS).