3

The JSON-RPC would return the time in this format "time": 1346289025. How exactly do I read it? I don't know what kind of format it is. So what time is 1346289025?

3

It's unix time, the number of seconds since January 1, 1970. Your programming language probably has an easy standard way of converting it to a date.

  • Depending on the version of date your computer has, you can probably convert it with date -u --date="1970-01-01 +1346289025 sec GMT", date -d @1346289025, or date -jf %s 1346289025. – David Schwartz Sep 1 '12 at 6:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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