Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange, strange things
Message
De
24/10/2013 17:33:09
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Strange, strange things
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01586334
Message ID:
01586334
Vues:
61
 ssprocessds.hhpickup.Rows.Clear();
 ssprocessds.ReadXml(f.FullName);
At the client site, when I read 2013-10-24T00:00:00-04:00 from the .xml file ( I don't know how to show the xmlhere)
the result in the datetime column of the datatable was 2013-10-23:09:00.

It worked fine on my site.
I was testing at about 1PM ET.
I noticed that time on the client machine was 3 hrs behind me because the Time Zone was Pacific.
I changed the time zone on the client machine and got the correct date when reading the xml.
Does anyone know why a time zone should push a date back a day in the middle of the day?
Also, why would readxml mess with a date at all?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform