Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,110 of 9,110 pages
About the help in other languages
All help pages

site.ini [TimeZoneSettings]

The settings of [TimeZoneSettings] in site.ini: TimeZone

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/TimeZoneSettings.md

On this page

site.ini [TimeZoneSettings]

The block [TimeZoneSettings] of settings/site.ini, with 1 setting(s).

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

TimeZone

Override this value to set timezone to other than OS default.
See /usr/share/zoneinfo/zone.tab for possible values ( 3rd column ).
Example: TimeZone=America/Antigua

The site's time zone: dates in templates, timed publishing, and the times cache_until() reads
('tomorrow' is midnight here). Empty: PHP's date.timezone (often UTC, or the zone of a container image).
A new installation writes it to settings/override/site.ini.append.php (exp:install --timezone=, kickstart.ini
[language_options] TimeZone, else derived from the primary language); Setup > System information notes
it while it is empty (a warning when PHP has no zone either).

Notice: This will not work on threaded web servers or on Windows.
Use only with Apache 1.3 or 2.0 prefork on *nix.

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[TimeZoneSettings]
TimeZone=
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x