Skip to main content Skip to list of content
Service phase: Beta

This is a new service – give us your feedback to help improve it.

Content

Dates and times

Write dates and times in a consistent format.

Contents

  1. Formats
  2. Ranges
  3. Formats in data

Dates should be written in a human-readable format. Date numbers do not need "st", "th" or "rd" suffixes.

Good examples of dates are:

Time
16 October 2023, 19:00
Day
16 October 2023
Month
October 2023
Year
2023

You can include a day of the week if space allows:

Time
Monday 16 October 2023, 19:00
Day
Monday 16 October 2023

Use the HTML time element where possible:

<time datetime="2023-10-16">16 October 2023</time>
<time datetime="2023-10-16T19:00:00Z">16 October 2023, 19:00</time>

Use the 24-hour notation for writing times.

Do not 0-prefix the hour:

Always use "to" rather than dashes or hyphens for date ranges.

Avoid unnecessary duplication of days, months or years to allow users to scan more easily.

Times in the same day
16 October 2023, 19:00 to 20:00
Dates in the same month
16 to 24 October 2023
Dates over multiple months
16 October to 24 November 2023
Dates over multiple years
16 October 2023 to 24 November 2024
Months in the same year
October to November 2023
Months over multiple years
October 2023 to November 2024
Range of years
2023 to 2024

Use "From …" for open-ended events and "Now to …" when describing events that are currently ongoing:

Use the ISO 8601 format for dates intended to be consumed by a machine, for example in a CSV export:


Back to top