S
Subrata
I need help wrt to the dataset converting the date (time) when passed from a
web server to a client, both on different time zones.
Lets assume that the Web Server is in NYC(EST). The client is in SFO(PST).
The client is making a web service call to the WS in NYC, which returns a
dataset containing a date field. The client is also interested only in the
date part of it. But, if the WS is returning the date as "04/25/2006
00:00:00 EST", when it gets to the client, the date in the dataset is
getting converted to "04/24/2006 21:00:00 PST". So, as the client is only
interested in the date part, he's getting it wrong (the client is getting
04/24 instead of 04/25).
This looks to me like a generic problem. Has anybody faced it before? What
would be the most efficient solution for this problem (other than passing
the date as a string in the dataset and converting it back to date in the
client side?)?
We are using .NET Framework 1.1 with Visual Studio 2003 on Windows 2000/XP.
Thanks for your help.
web server to a client, both on different time zones.
Lets assume that the Web Server is in NYC(EST). The client is in SFO(PST).
The client is making a web service call to the WS in NYC, which returns a
dataset containing a date field. The client is also interested only in the
date part of it. But, if the WS is returning the date as "04/25/2006
00:00:00 EST", when it gets to the client, the date in the dataset is
getting converted to "04/24/2006 21:00:00 PST". So, as the client is only
interested in the date part, he's getting it wrong (the client is getting
04/24 instead of 04/25).
This looks to me like a generic problem. Has anybody faced it before? What
would be the most efficient solution for this problem (other than passing
the date as a string in the dataset and converting it back to date in the
client side?)?
We are using .NET Framework 1.1 with Visual Studio 2003 on Windows 2000/XP.
Thanks for your help.