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).
Also, see a timestamp example with stored messages.