Time Zone Issue with Data Set

  • Thread starter Thread starter Ajay Singh
  • Start date Start date
A

Ajay Singh

I am using a client and server program. The server is on a
machine with time zone (-5:00 Eastern Time) and the
clients machine time zone is (-6:00 Central Time). There
is a transfer of dataset between the server and the client
using remoting.

When the client receives the dataset from server, there is
a change in the datatime field ,it gets changed to the
clients m/c time zone. for ex if the server returned
11/23/2003 12:00 am to the client the client displays
11/22/2003 11:00 pm.

Is there any procedure using which the dataset does not
change the time when it crosse the time zone on wire?
 
I've the same problem. It seems that unless you rewrite the
serialization code you won't be able to prevent this. Please have a
look to the thread "Serialization of DateTime" in
microsoft.public.dotnet.framework.remoting for more info (first
message on 13th of November).


If you find a solution I'd be happy to know it.
 
Back
Top