Error in iso8601 conversions (dateTime)
| From: | Mike Carter | Date: | Wed, 11 Jun 2003 13:03:12 +0000 |
| Subject: | Error in iso8601 conversions (dateTime) | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-704@lists.php.net to get a copy of this message | ||
Hi people,
I decided to run the test method in the dateTime SOAP type class of
PEAR::SOAP in the hope I could understand the Z/UTC problem I think I'm
still suffering with.
I ran the following script:-
<?php
require 'SOAP/Client.php';
$obj = new SOAP_Type_dateTime;
$obj->_test();
?>
Which outputs:-
orig: 2001-04-25T09:31:41-0700
orig toUTC: 2001-04-25T16:31:41Z
orig ts: 988216301
utc ts: 988216301
orig ts back: 2001-04-25T17:31:41+0100
utc ts back: 2001-04-25T17:31:41+0100
Error in iso8601 conversions
Is this supposed to be (currently) broken? Maybe its a cause of the
problem I'm suffering from where dates coming from a .Net SOAP server get
mangled and changed to different days after PEAR SOAP has had its sticky
paws on them.
Comments or help appreciated people!
Kind regards,
--
Mike Carter [web developer]
tel: 01925 758229 // fax: 01925 758023 // web: www.koa.uk.com
This message is confidential.
Unless you are the named addressee or their delegated representative you may
not use, disclose, or copy the contents of the e-mail. If you are not the
named addressee please notify the sender immediately and delete the material
from your computer. Any views or opinions contained in this e-mail are
solely those of the author unless expressly stated otherwise
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 5/27/2003
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________