The issue is, I think you find when you delve deeper, is one of
serialization.
The remoting host (at the server end), will be serializing the datetime, and
the local remoting client will be deserializing it.
Unless it is told otherwise, the remoting host will including timezone
information in the serialized datetime. The timezone information will be is
respect of the timezone setting for the 'box' on which the serialization is
performed.
When the local remoting client deserializes it, because it contains timezone
information, that timezone information is honoured. The interpretation of
the value will be in respect of the timezone setting for the 'box' on which
the deserialization is performed, but taking into account the timezone
information embedded in the serialized value.
For example the value of:
3/26/2008 3:12:53 AM
will be serialized as something like:
2008-03-26T03:12:53Z+4:00
To get the behaviour you want, you would need to code the host and client
portions of the remotable application to ensure that all datetime values are
serialized and deserialized in a timezone agnostic manner.
Clear as mud????
"Looch" <lu**********@yahoo.comwrote in message
news:03**********************************@i7g2000p rf.googlegroups.com...
>I guess I was expecting that if User1 (in New York) created a record
where one of the columns is a datetime type and the value created was
'3/26/2008 3:12:53 AM' that if User2 in California queried that record
and returned the value of that same column the return value would be
'3/26/2008 3:12:53 AM'. Instead I was getting the value minus four
hours.