IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
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
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important