Fullscreen
[Show/Hide Right Column]

Date and Time tab

Related Topics

Overview
Configure how Tiki displays date and time information.

To Access
From the General Admin page, click the Date and Time tab.

Notes
See the Date and Time Formats table and PHP Manual for detailed information on date and time settings.


8.x, 7.x


Date and time tab
Date and Time tab

Setting Description Default
Timezone Select the default timezone for your site. UTC
Displayed timezone Use time zone set from user preferences, or the automatically detected time zone for anonymous (if browser allows). Site default is used as fallback. Use time zone set from user preferences...
Long date format Specify how Tiki displays the date %A %d of %B, %Y
Short date format Specify how Tiki displays the date %Y-NaVd
Long time format Specify how Tiki displays the time (longer version) %H %M %S %Z
Short time format Specify how Tiki displays the time (shorter version) %H %M
Fields display order Select display order of date fields Month, Day Year
Use 12-hour clock for time selectors If enabled, edit windows with time selectors will use a 12-hour clock with AM/PM selections, instead of a 24-hour clock.
Skip date for same day If enabled, Tiki will skip the date (that is, show only the time) for items occurring on the current date. Enabled


6.x

Date and time tab
Date and Time tab

Setting Description Default
Timezone Select the default timezone for your site. UTC
Displayed timezone Use time zone set from user preferences, or the automatically detected time zone for anonymous (if browser allows). Site default is used as fallback. Use time zone set from user preferences...
Long date format Specify how Tiki displays the date %A %d of %B, %Y
Short date format Specify how Tiki displays the date %Y-NaVd
Long time format Specify how Tiki displays the time (longer version) %H %M %S %Z
Short time format Specify how Tiki displays the time (shorter version) %H %M
Fields display order Select display order of date fields Month, Day Year
Skip date for same day If enabled, Tiki will skip the date (that is, show only the time) for items occurring on the current date. Enabled


3.x
Parameter Description
Default timezone Select the default timezone for your site.
You can also specify if Tiki will Use site default to show times or if attempt to Detect user timezone.
Date and Time formats Specify the Long Date, Short Date, Long Time,and Short Time formats. The following table lists the possible format strings
Fields display order





Tip Tip: When you save your changes, Tiki will display a sample of the selected date and time formats.


Date and Time Formats

See http://php.net/manual/en/function.date.php for more information on PHP date and time formats.

Day

Format Character Description
%a Abbreviated weekday name according to the current locale
%A Full weekday name according to the current locale
%d Day of the month as a decimal number (range 01 to 31)
%e Day of the month as a decimal number, a single digit is preceded by a space (range 1 to 31)
%u Day of the week as a decimal, with 1 representing Monday (range 1 to 7)
%w Day of the week as a decimal, with 0 being Sunday (range 0 to 6)
%j Day of the year as a decimal number (range 001 to 366)


Week

Format Character Description
%U Week number of the current year as a decimal number, starting with the first Sunday as the first day of the first week
%W Week number of the current year as a decimal number, starting with the first Monday as the first day of the first week
%V The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the current year, and with Monday as the first day of the week. (Use %G or %g for the year component that corresponds to the week number for the specified timestamp.)


Month

Format Character Description
%b Abbreviated month name according to the current locale
%B Full month name according to the current locale
%m Month as a decimal number (range 01 to 12)


Year

Format Character Description
%C Century number (the year divided by 100 and truncated to an integer, range 00 to 99)
%G The 4-digit year corresponding to the ISO week number (see %V). This has the same format and value as %Y, except that if the ISO week number belongs to the previous or next year, that year is used instead.
%g Like %G, but without the century.
%y Year as a decimal number without a century (range 00 to 99)
%Y Year as a decimal number including the century


Time

Format Character Description
%H Hour as a decimal number using a 24-hour clock (range 00 to 23)
%I Hour as a decimal number using a 12-hour clock (range 01 to 12)
%M Minute as a decimal number
%p Either am or pm according to the given time value, or the corresponding strings for the current locale
%r Time in a.m. and p.m. notation
%R Time in 24 hour notation
%S Second as a decimal number
%T Current time, equal to %H:%M:%S


Notes

Format Character Description
%c Preferred date and time representation for the current locale
%x Preferred date representation for the current locale without the time
%X Preferred time representation for the current locale without the date
%D Same as %m/%d/%y
%h Same as %b
%n Newline character
%t Tab character
%Z or %z Time zone or name or abbreviation
%% A literal % character





Contributors to this page: Rick22958 points  , V. Whittier762 points  and system .
Page last modified on Thursday 13 October, 2011 12:31:14 UTC by Rick22958 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki