Configuring Time and Date Formats

You can change how times and dates appear throughout your Confluence site to suit your organization's preferred date format. 

Site date and time

To change the time and date formats for your entire site:

  1. Go to Administration menu , then General Configuration.

  2. Select Edit.
  3. Enter your preferred Time Format, Date Time Format and Date Format.
  4. Select Save.

Confluence uses the Java SimpleDateFormat class. Head to Java SimpleDateFormat to see all allowed values, or use one of the common format examples below. Note: letters are case sensitive.

FormatExample
dd MMMM yyyy05 June 2019
MMMM d, yyyyJune 5, 2019
d MMM yy5 Jun 19
dd-MM-yy05-06-19
d-M-yy5-6-19
h:mm a3:25 PM
HH:mm15:25

Here's what the page history for the same page might look like with different date and time formats. 

Relative dates

Some parts of Confluence use relative dates when the change happened recently.  For example a comment might have been added "yesterday", or a page modified "about 2 hours ago". 

It's not possible to customize this format. Full dates are displayed in your preferred format once the change is more than 1 day old. 

Date lozenges

To insert a date lozenge, in the editor type // or select   > Date from the toolbar. 

The date format displayed will depend on the language settings of the current user, and not the global default language settings. This means the lozenge will appear differently for different users.

The examples below show how the date lozenge will appear based on local language setting.

Tip: To change you local language setting, see Edit Your User Settings. By default, it is set to "Automatically recognize your browser settings".

Last modified on Oct 3, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.