how to create a timeInstant param to pass to server?
| From: | neko | Date: | Thu, 11 Dec 2003 10:17:03 +0000 |
| Subject: | how to create a timeInstant param to pass to server? | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1220@lists.php.net to get a copy of this message | ||
need to pass a few strings and a param of type 'timeInstant'. I was trying stuff like this:
$params = array('ctn' => $ctn, 'pac' => $pac, 'portdate' => new SOAP_Type_dateTime(strtotime($portdate)));
Where strtotime($portdate)) returns 1073692800.
Is that correct? I pass these parmas in with $client->call()....
thanks,
neko