🏠
ENG
Great Britain >

XML-RPC Package - Utilities - Current Time

Introduction

This service returns the time on the server. Mimics the Userland currentTime.getCurrentTime XML-RPC service. The service is designed as a simple method for training users on developing web-services and is also useful for checking if user tokens are about to expire.

Method Detail

Global settings for all services can be found here.

The method name is utils.getCurrentTime.

This service takes no parameters and returns one parameter, a date value with the time on the server.

Method Request

<?xml version="1.0"?>
<methodCall>
  <methodName>utils.getCurrentTime</methodName>
  <params>
  </params>
</methodCall>

Method Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<methodResponse>
  <params>
    <param>
      <value>
        <dateTime.iso8601>20021218T10:22:28</dateTime.iso8601>
      </value>
    </param>
  </params>
</methodResponse>