toServerTimestamp

open override fun toServerTimestamp(localTimestamp: Long = Clock.System.now().epochSeconds): Long

Convert local timestamp to server timestamp

Return

the timestamp adjusted with the client/server time shift

Parameters

localTimestamp

timestamp from client to convert