"Andy Fish" <> wrote in message
news:AIUEb.1645$...
> Hi,
>
> I have an application with a vb6 client that talks to a java server
and
> passes XML back and forward, and I'm wondering what's the best format
to
> transfer date/time values between them in an XML attribute.
>
This is some poop out of MSDN on XML data types. It is from Microsoft,
but it at least has the appearance of being universal and not system
specific. I would think most XML parsers would process these correctly.
<Schema name="myschema"
xmlns="urn:schemas-microsoft-com

ml-data"
xmlns:dt="urn:schemas-microsoft-com:datatypes">
</Schema>
XML Data Types:
date: Date in a subset ISO 8601 format, without the time data. For
example: "1994-11-05".
dateTime: Date in a subset of ISO 8601 format, with optional time and no
optional zone. For example, "1988-04-07T18:39:09".
dateTime.tz: Date in a subset ISO 8601 format, with optional time and
optional zone. For example: 1988-04-07T18:39:09-08:00".