You can use the property TimeZoneId with event items that helps to accurately calculate recurring events. The TimeZoneId property is a key string that uniquely identifies a particular time zone. It corresponds to the subkeys located in the folder HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zone.
You can set the TimeZoneId property to UTC, the Sitefinity CMS user interface TimeZone, or any other string representing a valid time zone. You can find a list of valid time zone IDs in the Name of the Time Zone column in the Microsoft time zone index values.
The following sample code demonstrates how to set the TimeZoneId property to the Sitefinity CMS user interface TimeZone:
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.