instantToTimetoken

Converts Instant to a PubNub timetoken

A PubNub timetoken is a 17-digit number representing the number of 100-nanosecond intervals since January 1, 1970.

Return

A 17-digit Long representing the PubNub timetoken for the given Instant.

Parameters

instant

The Instant object to be converted to a PubNub timetoken.