timetokenToUnix
Converts a PubNub timetoken to a Unix timestamp (in millis).
A PubNub timetoken is a 17-digit number representing the number of 100-nanosecond intervals since January 1, 1970. This function converts the PubNub timetoken to a Unix timestamp by reducing the precision to millis. Note that precision finer than millis is lost in this conversion.
Return
A Long representing the Unix timestamp in millis corresponding to the given timetoken.
Parameters
timetoken
The PubNub timetoken to be converted to a Unix timestamp.
Throws
if the timetoken does not have 17 digits.