Re: c# dates and Java
Jekke Bladt <[email protected]> Fri, 29 Aug 2003 15:38:07 -0400
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <[email protected]> |
How about
myDate.ToString("yyyy-MM-ddThh:mm:ss.000")
(or something like that.)
--Jekke
==
"Of course we're going to be, as a movement, blowing things up and smashing
windows...I think it's perfectly appropriate for people to take bricks and
toss them through windows ... Hallelujah to the people who are willing
to do it."
--PETA Campaign Director Bruce Friedrich to wild applause from fellow
would-be eco-terrorists.
-----Original Message-----
From: Discussion of implementing SOAP applications today
[mailto:[email protected]]On Behalf Of Sam T
Sent: Friday, August 29, 2003 3:28 PM
To: [email protected]
Subject: [SOAP] c# dates and Java
I m trying to invoke Java web service from C#.
There is a date involved.
When I use C# I get a parsing error. When I use Java client
it works fine.
Here is what the dates looks like on the wire
C# 2003-08-30T10:15:45.0000000-04:00
Java 2003-08-30T15:02:54.902-04:00
How do I format the C# date into the Java format (The milli second
precision seems to be causing the problem).
Help anyone ?
Thanks in advance
=sam