Passing DateTime objects through SOAP WSDL layer

[email protected] (Andy Idol) Thu, 3 May 2012 15:21:13 +0400
Newsgroups php.soap
Message-ID <CAKaUTCApqOpO1VcLY1BkNjR98k0exzyyvdHDDzhn5XUwvQVRsA@mail.gmail.com>
--f46d044306746e8fbe04bf200022
Content-Type: text/plain; charset=UTF-8

Hi, i'm using SoapServer and SoapClient classes to do some RPC and transfer
data.

Some of my models have DateTime-objects as fields and i need to pass them
through SOAP WSDL layer without loosing data. How can i accomplish this?

According to this: https://bugs.php.net/bug.php?id=44383 PHP DateTime's are
not converted to xsd:datetime automatically.

--f46d044306746e8fbe04bf200022--