Accent Fields Datetime

Date & Time

A moment, local on purpose — showtimes and openings.


A moment: `2026-10-06T20:00`, produced by `date_time_picker` and stored exactly as the native `datetime-local` input emits it — the [Datetime](datetime.md) family's full-granularity method.

Declaring one

Label Starts at
Key starts_at
Data type date
Editor date_time_picker

Local, on purpose

The stored value has no timezone suffix — T20:00 is eight in the evening wherever the site's audience is. For a venue, a restaurant, a class schedule, that is the correct model: the show starts at 8 by the clock on the wall. If a site ever needs instants across zones (a global livestream), that is a contract decision to make deliberately — append the offset at authoring time and parse accordingly — not a default to inherit.

An example

<time datetime="<%= cms.asset.content.starts_at %>">
  <%= new Date(cms.asset.content.starts_at).toLocaleString('en-US',
      { dateStyle: 'medium', timeStyle: 'short' }) %>
</time>

When another method fits better

  • The hour is noise — a deadline that means "that day": date.
  • The date is noise — doors always open at seven: time.