unixToTimetoken

Converts a Unix timestamp (in millis) to a PubNub timetoken

Return

A 17-digit Long representing the PubNub timetoken corresponding to the given Unix timestamp.

Parameters

unixTime

The Unix timestamp to be converted to a PubNub timetoken.

Throws

if the unixTime does not have 13 digits.