In .NET, some values โโused TimeZoneInfoare cached, such as the current time zone used TimeZoneInfo.Local, DateTime.ToLocalTimeetc. In traditional .NET Framework applications, this cache can be cleared by calling TimeZoneInfo.ClearCachedData(), as explained in the documents .
However, in WinRT applications, such as the Windows Store and Windows Universal Apps, the API is ClearCachedDatanot available.
How to clear timezone cache in WinRT environment?
source
share