Show Dates and Times Clearly on a Business Website

Write the complete date, explain the time zone when a clock time matters, and keep the visible wording aligned with the value in the page’s HTML.

Illustrative date only:

Illustrative specific instant:

Approve the date before formatting it

A class, a dated notice, and a quote-request deadline need different information. Confirm what the date means, who owns it, and where the authoritative record lives. For a timed activity, collect the calendar date, start time, end time if needed, and the location or time zone that controls the schedule.

Prefer a written month and a complete year when a numeric date could be misunderstood. “January 15, 2027” is easier to interpret across date-format conventions than an abbreviated numeric version. If you also show the weekday, check that it agrees with the actual calendar date.

Replace relative phrases such as “this Friday” when the page may remain visible after that week. If a deadline is important to a purchasing or registration decision, put the complete date and relevant time near that action. Ask the business owner to approve the wording before publishing it.

Use a date-only value for a date-only meaning

The HTML time element can keep readable text beside a machine-readable datetime value. This is the markup for the first example:

<time datetime="2027-01-15">January 15, 2027</time>

The value uses the year-month-day form while the visitor reads a written date. Use it for information that really is a calendar date. Do not invent an exact clock time merely to make a date look more technical. MDN’s time element reference lists the supported value formats.

Check both parts when editing: changing the visible words while leaving an older datetime value creates conflicting information. A shared template or content generator should take both from the same approved source where possible.

Identify a specific instant when the clock matters

For an online activity shared across time zones, make the controlling zone visible and use a matching date-time value. The second example uses UTC to show the relationship clearly:

<time datetime="2027-01-15T20:00:00Z">
  January 15, 2027 at 8:00 p.m. UTC
</time>

The Z identifies UTC in this value. The visible text names that same zone. Both examples on this page are demonstrations; use the business’s approved schedule in your own page.

The HTML Standard’s time guidance discusses global date-time values for events happening at the same instant across zones. A time element labels the value. If visitors need local-time conversion, calendar invitations, reminders, or registration, review that behavior in the existing scheduling system separately.

Give local visitors a usable zone or location

If the business uses a local schedule, write the relevant location or time-zone name alongside the time. A bare “2 p.m.” gives a remote reader little help deciding which clock to use. Choose the zone that actually governs the activity, rather than assuming every visitor shares the business’s location.

When the datetime value includes a numeric UTC offset, verify it for that location on that particular date. Geographic zones can change their offset with daylight saving time, so an offset copied from a different season can be wrong. The visible label and stored value should describe the same intended time.

For recurring business hours, describe the regular local schedule and show dated exceptions clearly. A recurring opening time and one specific event are different kinds of information. If you also maintain a Business Profile, use the holiday-hours checklist to review that separate public listing.

Keep every public version aligned

List the places where the same schedule appears: the service or event page, a home announcement, a downloadable document, a booking tool, and any confirmation wording. Change the maintained source for each one, then check the output. Editing a generated HTML file alone may be overwritten on the next publish.

Keep the visible date as text instead of putting the only copy inside a promotional image. Readers should be able to enlarge it, copy it, and understand it alongside the next action. On a phone, make sure a long date or zone label wraps without covering a button or being clipped.

If a schedule changes, record the approved replacement and decide whether an older notice needs a clear update. For an existing booking, use the business’s established process for notifying affected people. A public page edit and a customer notification are separate actions.

Verify the published page and plan the next update

Review the source diff, run the repository’s required checks, and publish through its normal workflow. At the exact live URL, compare the visible date and time with the datetime attribute and the approved record. Check a phone layout and desktop, then follow the existing booking or inquiry link without sending a test customer message or making a purchase.

Assign an owner to remove expired notices and approve changes to future schedules. Include that review when replacing an image, updating a shared banner, or moving content into a new template. Keep a short record of the page URL, controlling zone, source of the date, and next review point.

For the broader DIY publishing workflow, explore the BUILD • PUBLISH • OWN IT guide. Businesses with recurring class and event updates can review website management for classes and events or the main website management page.

Need help keeping website dates current?

Send the page URL, the approved date and time zone, and the calendar or booking source that should agree with it. We can review the scope of the update.

Request website help