Skip to main content

Last updated: 2024-06-07


GetSystemTime Method


In this topic:


Overview


The GetSystemTime method returns the current date and time on the SmartOffice server.


The GetSystemTime method is invoked using the method operation.


Parameters


This method takes no parameters.


Example


The request is as follows:


XML
<request version='1.0'>
  <header>...</header>
  <method>
    <GetSystemTime/>
  </method>
</request>

The response includes the server date and time:


XML
<response version="1.0">
  <header>
    <sessionClosed/>
  </header>
  <method>
    <GetSystemTime>2015-06-12T18:20:40</GetSystemTime>
  </method>
  <_status>OK</_status>
  <_systime>2015-06-12T18:20:40</_systime>
  <!--Cost 24 mill seconds.-->
</response>