GetServerTime

Gets the UTC time as set on the server

This method returns the UTC time as set on the server so you can be sure that any dateTime dependent calls that you make are going to happen at the time you think they will.

Please note that this method doesn't add to your allotted total calls in a 24 hour period.

SOAP action: http://apiconnector.com/v2/ApiService/GetServerTime

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters
None required

Output parameters

  • GetServerTimeResult

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var serverTime = client.GetServerTime();
}