Settings supporting UTC implementation

Last updated Friday, February 26, 2016 in Sitecore Experience Platform for Developer, Administrator
Keywords: Configuration, UTC

There are two config settings that support date/time types:

  • The Server Time Zone setting in the web.config file.
  • The Analytics.Reports.DisplayDatesInUtc setting in the App_Config\Include\Sitecore.Analytics.config file.

Server Time Zone

The Server Time Zone setting in the web.config file specifies the server time zone that is used by the server to convert UTC time to local time, for example "GMT Standard Time".

The value must be a valid Time Zone ID in Microsoft .NET. For more information, see http://msdn.microsoft.com/en-us/library/gg154758.aspx

If the value is blank, Sitecore uses the operating system time zone.

      <!--  SERVER TIME ZONE
            This setting specifies the server time zone that is  used by the server to convert UTC time to local time, for example "GMT Standard Time".
            The value must be parsable to a valid Time Zone ID.                   See http://msdn.microsoft.com/en-us/library/gg154758.aspx
            If blank, Sitecore uses the operating system time zone.
            Default value: "" (use the operating system time zone)
      -->
      <setting name="ServerTimeZone" value=""/>

Analytics.Reports.DisplayDatesInUtc

The Analytics.Reports.DisplayDatesInUtc setting in the App_Config\Include\Sitecore.Analytics.config file specifies whether dates and times are displayed in UTC or the local server time zone in the Engagement Analytics reports.

If this setting is set to true, dates and times are displayed in UTC in reports. The default value of the setting is false.

Send feedback about the documentation to docsite@sitecore.net.