PhotonCloudAPI > Photon Cloud Object > Fetch Server Time Stamp

Fetch Server Time Stamp

This will fetch the server's timestamp and update the approximation for GetServerTime() and GetServerTimeOffset().
The server time approximation will NOT become more accurate by repeated calls.
Accuracy currently depends on a single roundtrip which is done as fast as possible.
The command used for this is immediately acknowledged by the server.
This makes sure the roundtriptime is low and the timestamp + roundtriptime / 2 is close to the original value.

Inputs

In
Exec

Target
Photon Cloud Object Object Reference

Outputs

Out
Exec