XServices/doc/DateServices/getDateExtended.xml

31 lines
1018 B
XML

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getDateExtended</title>
<para>Get current time and date (extended Version).
Sample response:
<programlisting language="xml">
<![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:getDateExtendedResponse xmlns:ns2="http://ws.xservices.brutex.net">
<return>
<iso8601date>2012-01-23T08:30:00.333+01:00</iso8601date>
<rfc822date>2012-01-23T08:30:00.333+0100</rfc822date>
<timestamp>1327303800333</timestamp>
<format1>23.01.2012</format1>
<format2>2012/01/23</format2>
<format3>08:30:00</format3>
</return>
</ns2:getDateExtendedResponse>
</soap:Body>
</soap:Envelope>
]]>
</programlisting>
</para>
</section>