If you look at a rest request on C-CEX for bitcoin prices
https://c-cex.com/t/btc-usd.json you get
{"ticker":{"high":438,"low":432.999999,"avg":435.4999995,"lastbuy":433.2,"lastsell":438,"buy":433.2001,"sell":435.0000002,"lastprice":433.2,"buysupport":2690.15560102,"updated":1461225600}}
-----------------------------------------------------------------------------------------------
If you do the same on Bitstamp
https://www.bitstamp.net/api/ticker/You get:
{"high": "432.87", "last": "430.01", "timestamp": "1460823147", "bid": "430.02", "vwap": "429.08", "volume": "2780.11282927", "low": "426.61", "ask": "430.06", "open": 429.29}
-------------------------------------------------------------------------------------------
Now the "timestamp" and the "updated" json fields represent the time of the last trade.
On Bitstamp if you want to convert that timestamp to a human readable local time you do like this:
// Unix timestamp is seconds past epoch
DateTime dt = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc);
dt = dt.AddSeconds(Timestamp).ToLocalTime();
So basically it's the total seconds since January 1'th 1970.
On C-CEX as you can see the updated value is higher. If I use the same procedure as above I get April 21 10.00 AM.....Is there anybody who can explain how C-CEX returns their timestamp (updated)?