The current time on the client side. Defaults to Date.now().
The current adjusted time (or the client time if not synced yet).
Synchronizes the client's time with the server's time. If the client's time is already synchronized within an hour, this method does nothing.
A promise that resolves when the synchronization is complete.
Returns the timestamp of a performance mark with the specified name and detail.
PS: performance.mark
must be called with startTime: trueTime.now()
.
The name of the performance mark.
Optional
detail: stringOptional. The detail of the performance mark.
The timestamp of the performance mark, or undefined if not found.
Returns the current time adjusted to server-time.