2

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?

1 Answer 1

1

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

4
  • 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, 2011 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, 2012 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. Feb 5, 2012 at 20:25
  • 1
    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, 2013 at 7:39

You must log in to answer this question.

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