I have a winform client and wcf service that together display historical data. the data stored in the db with utc timestamps. If two clients in different time zones want to look at a most recent day’s worth of data based on their local time, can it be possible that they would be looking at different sets of data?
I have a winform client and wcf service that together display historical data. the
Share
That depends.
Example:
In case 1, you just go back 24 hours from the time of the service request. It’s easy to see that both customers, the one in the US and the one in Europe, will get the same list of events.
In case 2, it’s more difficult: With respect to US time, events 1 and 2 happen on the same day. With respect to Europe, both events happen on different days, so the results will be different for the client in the US and the client in Europe.