Database tables and API classes

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The Time zones module uses the following database table:

 

CMS_TimeZone - contains time zones and their settings

 

The Time zones API is provided by the following CMS.SiteProvider namespace classes:

 

TimeZoneInfo, TimeZoneInfoProvider - these classes provide functionality for managing time zones
TimeZoneHelper - this class contains further static methods for performing time zone related tasks

 

The following chapters show examples of how these classes can be used:

 

Getting time zone data
Managing time zones
Converting time according to a time zone

 

The following chapter shows how correct time converted according to time zone settings can be displayed in transformations and by user controls:

 

Displaying correct time in your code

 

The API programming and Kentico CMS internals section of this guide contains more API related information, so please refer to it if required.

 

For detailed API documentation, such as a list of all methods from the classes above, please refer to Kentico CMS API Reference that is a part of your Kentico CMS installation and can be accessed through the programs folder in Windows Start menu.

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?time_zones_database_tables_and_api_classes.htm