DataSet / Pacific Timezone Question
From: Amos Soma (amos_j_soma_at_y_a_hoo.com)
Date: 09/17/04
- Next message: Imran Koradia: "Re: .NET equivalent of global hook?"
- Previous message: Joshua T. Moore: "XP tablet battery info"
- Next in thread: robby valles: "RE: DataSet / Pacific Timezone Question"
- Reply: robby valles: "RE: DataSet / Pacific Timezone Question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Sep 2004 13:59:09 -0400
I have a Web Service on a Web Server on the East Coast
which returns a serialized DataSet from my SqlServer at
the same location.
When the DataSet is read by my client in a
different time zone, the datetime columns have
been "adjusted" to account for the time zone difference
between server and client.
For example, if the value in a datetime column on my
database is '1/1/02 12:00 AM', when I retrieve it on a
client machine on Pacific Time, the value is '1/1/02 12:00
AM' in the DataSet on my Web Server, but when the
client "deserializes" the XML back into a DataSet on my
client, the value becomes '12/31/01 9:00 PM'.
Is there a way to disable this behavior so I get the same
dataset at my client that I sent from my Web Service?
Thanks very much
- Next message: Imran Koradia: "Re: .NET equivalent of global hook?"
- Previous message: Joshua T. Moore: "XP tablet battery info"
- Next in thread: robby valles: "RE: DataSet / Pacific Timezone Question"
- Reply: robby valles: "RE: DataSet / Pacific Timezone Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|