Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The type of the fromdate or todate in several methods is set to

unix epoch date, range [0, 253,402,300,799]

I don't know what that is and I can't find any information -- can someone explain it or point me to the right place?
Thanks.

share|improve this question
up vote 0 down vote accepted

These are Unix timestamps. They represent the number of seconds that have passed since the Unix Epoch, which occurred at 12:00 am UTC on January 1, 1970.

You can convert a human-readable date to / from a Unix timestamp using Wolfram Alpha. Example queries:

"convert January 15, 2005 14:56 PST to unix timestamp"
"convert unix timestamp 1105829760"

The end of the range is the highest possible date represented by as a timestamp.

convert unix timestamp 253402300799 Friday, 31 Dec 9999 23:59:59 GMT

share|improve this answer
1  
Thank you for your answer. What I don't understand is the range [0, 253,402,300,799] part. And the wikipedia article doesn't seem to say something about it.. – phi Dec 9 '11 at 9:56
    
Marked as answered, but it would be nice if you could answer to my other comment as well! thanks – phi Feb 5 '12 at 19:35
    
I honestly don't know what that number represents. My best guess is that it represents the maximum value returned in that field. – Nathan Osman Feb 5 '12 at 20:25
    
As Nathan suggested, the end of the range is the highest possible date represented by as a timestamp. > convert unix timestamp 253402300799 > Friday, 31 Dec 9999 23:59:59 GMT – Joe O May 2 '13 at 7:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .