G
Guest
Hi!
We are sending DataSets over web service. This is a world wide used
application, with web service consumers in different TimeZones.
The inbuilt .NET functionality that automaticly recalculate (based on
TimeZone difference) the values in Date-columns are nice for us in most cases.
Now we have identified a few data table columns, that should not be
recalculated on client - we want to show same date and time that is stored in
database. (I am not going to waste effort on explaining why.)
Of course I understand that one solution is that each time these value are
substracted/displayed from the data set, I manually add or subtract the time
difference and display it to user. This is very bad solution I think. I want
to make some more general setting on that column (or on all values in that
column) so that when this is done I do not have to think about any more. I
mean that then all data displayed from this column is transparantly shown
with server TimeZone.
Best regards,
Benjamin, Sweden
We are sending DataSets over web service. This is a world wide used
application, with web service consumers in different TimeZones.
The inbuilt .NET functionality that automaticly recalculate (based on
TimeZone difference) the values in Date-columns are nice for us in most cases.
Now we have identified a few data table columns, that should not be
recalculated on client - we want to show same date and time that is stored in
database. (I am not going to waste effort on explaining why.)
Of course I understand that one solution is that each time these value are
substracted/displayed from the data set, I manually add or subtract the time
difference and display it to user. This is very bad solution I think. I want
to make some more general setting on that column (or on all values in that
column) so that when this is done I do not have to think about any more. I
mean that then all data displayed from this column is transparantly shown
with server TimeZone.
Best regards,
Benjamin, Sweden