[phpxmlrpc] DateTime in a Struct
phill at phillfox.net
Thu Jan 23 15:32:26 GMT 2003
Hi there, I'm getting back into a personal project of mine that will use
a XML-RPC server and I've hit a road block. Im using PHP 4.3.0 as an
Apache module on Windows 2000 with xmlrpc.inc version 1.20.
I've used an example server included with the .inc with Methods that
call PHP functions, which return arrays that are converted to the proper
I'm having a problem creating a ISO8601 DateTime value. What I need is:
What is get is:
The PHP is simple:
$returnArray['dateCreated'] = $addedDate
I've also tried
$returnArray['dateCreated'] = new xmlrpcval($dateAdded, 'dateTime');
That doesn't work either.
I've run out of ideas but suspet that the solution is a simple one - any
Thanks in advance.
More information about the phpxmlrpc