The timetoken response value is a string, representing 17-digit precision unix time (UTC)
. To convert PubNub's timetoken to Unix timestamp (seconds), divide the timetoken number by 10,000,000 (10^7).
[16686902600028961] / 10,000,000 = 1668690260 (Unix timestamp)
Also, see a timestamp example with stored messages.