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

datetime.ini

The blocks and settings of datetime.ini.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/datetime/README.md

datetime.ini

The shipped settings of settings/datetime.ini: 1 blocks, 1 settings.

Exponential configuration file for date and time handling.

NOTE: It is not recommended to edit this file directly, instead
a file in override should be created for setting the
values that are required for your site. Either create
a file called settings/override/datetime.ini.append or
settings/override/datetime.ini.append.php for more security
in non-virtualhost modes (the .php file may already be present
and can be used for this purpose).
Element Example Description


%a am Lowercase Ante meridiem and Post meridiem.
%A AM Uppercase Ante meridiem and Post meridiem.
%c 2004-02-12T15:19:21+00:00 ISO 8601 date
%d 08 Day of the month, 2 digits with leading zeros.
%D Wed A short textual representation of a day, in accordance
with the "[ShortDayNames]" section of the language .INI file
located in the "share/locale" directory.
%F October A full textual representation of a month, such as January or March.
%g 12 12-hour format of an hour without leading zeros.
%G 3 24-hour format of an hour without leading zeros.
%h 12 12-hour format of an hour with leading zeros.
%H 03 24-hour format of an hour with leading zeros.
%i 00 Minutes with leading zeros
%j 8 Day of the month without leading zeros
%l Wednesday A full textual representation of the day of the week.
%m 10 Numeric representation of a month, with leading zeros.
%M Oct A short textual representation of a month, in accordance
with the "[ShortMonthNames]" section of the language .INI file located
in the "share/locale" directory.
%n 10 Numeric representation of a month, without leading zeros.
%O -0500 Difference to Greenwich time (GMT) in hours.
%r Thu, 21 Dec 2000 16:01:07 +0200 RFC 2822 formatted date
%s 00 Seconds, with leading zeros.
%T CDT Timezone setting of this machine.
%U 1065589200 Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
%w 3 Numeric representation of the day of the week.
%W 41 ISO-8601 week number of year, weeks starting on Monday.
%Y 2003 A full numeric representation of a year, 4 digits.
%y 03 A two digit representation of a year.
%z 280 The day of the year.
%Z -18000 Timezone offset in seconds. The offset for timezones west of UTC is
always negative, and for those east of UTC is always positive.

BlockSettings
ClassSettings1

Generated by ./console exp:help:examples from settings/datetime.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