Documentation Center

<TimeZoneOffset> element

The <TimeZoneOffset> element specifies the difference, in hours and minutes, from the Content Delivery system to the Content Manager system's local server time.

About this task

Dates and times are based on the Content Delivery server time, not on (Content Manager) local time. The offset is used for begin and end dates of Experiments and date triggers so that users can enter local server time rather that having to calculate the date and time in relation to the Content Delivery server time.

Procedure

  1. Open the smarttarget_conf.xml configuration file:
    • In a Java Web application, the file is located in the classes subdirectory of your Web application.
    • In a .NET Web application, the file is located in the config subdirectory of your Web application.
  2. In the <SmartTarget><TimeZoneOffset> section of the smarttarget_conf.xml configuration file, enter the offset:
    <TimeZoneOffset>0</TimeZoneOffset>
    For example:
    <TimeZoneOffset>Description
    -7The Content Manager system is in a time zone 7 hours earlier than the Content Delivery system.
    -7:45The Content Manager system is in a time zone 7 hours and 45 minutes earlier than the Content Delivery system.
    +5The Content Manager system is in a time zone 5 hours later than the Content Delivery system.
    +5:30The Content Manager system is in a time zone 5 hours and 30 minutes later than the Content Delivery system.
  3. Save and close smarttarget_conf.xml.