Originally posted by martintaal
View Post
If you then *render* the datetime in the current client timezone and that timezone is GMT+2, it will show the correct rendering of the provided UTC datetime in GMT+2: 2 hours later. This again is correct behavior - the only possible behavior - and SmartClient has not changed the datetime value.
I will have to parse the DataSource response to substract two hours (the client timezone) to the received dates, in order to be able to see the event starting at 10:23:00 and ending at 12:23:00
And to emphasize once again: the sole reason offsetting like this might be required is because you want to show datetimes from two different timezones in the same page. The need for offsetting never comes up unless this requirement is in place.
Comment