An XML-RPC date/time data type is a primitive data type and specifies a date and a time value, up to the second. It follows the format YYYYMMDDTHH:MM:SS. using Year, month, day, hour, minute, and second conventions. The “T”, however, is a literal to separate Date and time representation. Since there is no date/time data type in PHP, XML-RPC date/time will be represented as a string.
Example Declaration:
<param> <value> <dateTime.iso8601>20100209T11:30:32</ dateTime.iso8601> </value> </param>
In PHP 5, the date parameter of “c” will return a date/time object in ISO 8601 format but this cannot simply be used in XML-RPC, it has to be encoded separately.