I have a cell that's Date property is claiming that {2017-10-15 23:00:00 +0000} is the 16th of October. It's close!
Is this something to do with time zones?
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 24 Oct 2017, 10:32 AM
Hello, Ian,
Indeed the offset you're observing is caused by the device timezone.
If you need the actual Date displayed in the Cell you can convert the cell date to local time. I'm providing a simple code snippet that should do the trick:
var localDate = ((System.DateTime) cell.Date).ToLocalTime();
I hope this information helps.
Regards,
Nikolay
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items