R
ron.skufca
I have a c# app targeting the 1.1 framework that serializes a small
dataset to an XML file. That file is later FTP’ed to another server
about 2 miles away. Both servers time zones are set to (GMT -05:00)
Eastern time (US & Canada) .
Inside the file the date time elements have -06:00 for the time zone
part. E.g.
<Cleared>1899-12-30T09:50:11.0000000-06:00</Cleared>
What happens is when the XML is read back into a dataset on the
receiver side the time is an hour later due to the fact the time zone
in the xml is -06:00 instead of -05:00. I have checked the regional
settings on both servers and they are the same. Also the time on both
servers is off by only 3 minutes.
I set up a simulation environment in our lab and with the same
settings and the output XML is -05:00.
What could be causing the WriteXML to think it is an hour off??
dataset to an XML file. That file is later FTP’ed to another server
about 2 miles away. Both servers time zones are set to (GMT -05:00)
Eastern time (US & Canada) .
Inside the file the date time elements have -06:00 for the time zone
part. E.g.
<Cleared>1899-12-30T09:50:11.0000000-06:00</Cleared>
What happens is when the XML is read back into a dataset on the
receiver side the time is an hour later due to the fact the time zone
in the xml is -06:00 instead of -05:00. I have checked the regional
settings on both servers and they are the same. Also the time on both
servers is off by only 3 minutes.
I set up a simulation environment in our lab and with the same
settings and the output XML is -05:00.
What could be causing the WriteXML to think it is an hour off??