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
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
dateyour computer has, you can probably convert it withdate -u --date="1970-01-01 +1346289025 sec GMT",date -d @1346289025, ordate -jf %s 1346289025. – David Schwartz – 2012-09-01T06:31:43.377