In a popular online video game (World of Warcraft) there's a friends list displaying how long since each friend is online. Recently, there's been a bug where many friends show as being offline for 41 Years. Is there any significance to this number? I checked if it matched a max int timestamp, but no suck luck.

link|improve this question
feedback

migrated from stackoverflow.com Jul 23 '10 at 16:59

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 17 down vote accepted

Computer time is often measured from Jan 1 1970 (know as "the epoch"). It's been 40.5 years since then, rounded up to 41.

link|improve this answer
See en.wikipedia.org/wiki/Unix_time – Dominic Rodger Jul 23 '10 at 16:58
1  
So essentially, the "LastOnlineTime" for some users was set to DateTime.Minimum – Neil N Jul 23 '10 at 16:59
3  
xkcd.com/376 – Wayne Werner Jul 23 '10 at 17:00
Thanks - seems obvious now you say it! I was looking at all sorts of significant numbers represented as a timestamp, but didn't think of comparing the current date! My guess is they don't have a default value, so for anyone who hasn't been seen online at all, it would default to 0, or the epoch itself. – Jiminizer Jul 31 '10 at 19:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.