.Net DateTime, serialized xml and timezones

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickwes
    New Member
    • Aug 2007
    • 1

    .Net DateTime, serialized xml and timezones

    Hi there, I hope someone can help me.

    We have just started migrating a .Net Web Service to a new upgraded Web Server. The new server is running Windows Server 2003 64 bit with .Net 1.1 Framework v1.1.4322.

    The old Web Server runs Windows 2000 with .Net 1.1 Framework v1.1.4322.

    On the old server, the web service returns dates formatted as follows:
    2007-08-29T14:27:00.000 0000-04:00

    On the new server, the exact same web service returns dates formatted as follows:
    2007-09-03T20:36:00-04:00

    Note all the missing zero's. This is playing havoc with our synchronizing software.

    Is there any way to specify the correct date format on the new server without having to re-develop our code?
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Hiya!

    Is the date being created upon entry to form?

    You can probably do this through form load, add a small function to change the format upon entry.

    Also if nothing changed in the original code. It may be the new server information itself that needs to have looked at...

    See if that works:-)
    Last edited by Dököll; Aug 30 '07, 10:07 AM. Reason: Added remark...

    Comment

    Working...