Skip to main content
Version: 5.7.0

ReadServerTime

Method returns the server time in UTC. This is in UNIX millis time format.

For instance 1472138108000 represents 8/25/2016, 11:15:08 AM in GMT-4.

ServiceOperation
timeREAD

Usage

http://localhost:3000
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.TimeService.ReadServerTime(successCallback, failureCallback);
JSON Response
{
"status" : 200,
"data" :
{
"server_time":1472138108000
}
}