Dates and times in a table
Show a date-time as its date, its time or both, on a 12-hour or 24-hour clock, in a detail table or grouped by the hour or minute, and put the same date in a detail table twice.
A detail table can show a date-time column the way your readers expect: only the date, only the time, or both, on a 12-hour (12:20 PM) or 24-hour (12:20) clock. Put the same field in the table twice to show an inspection's day in one column and its time in the next. A date grouped by the hour, minute or second, on a summary table, a chart or a Matrix, can show its time on its own too.
Show the date, the time or both
In the card editor, open the ··· menu on a date-time field in a detail table's Columns. Under Show, pick:
| Show | You see |
|---|---|
| Date | Nov 08, 2026 |
| Time | 12:20 PM |
| Date and time | Nov 08, 2026 12:20 PM |
Then choose how each part looks:
- Date format: Jan 15, 2024 · January 15, 2024 · 01/15/2024 · 15/01/2024 · 01-15-2024 · 2024-01-15 · 15 Jan 2024. With Date and time, Automatic shows both in your readers' own date and time style.
- Clock: 12-hour (12:20 PM) or 24-hour (12:20).
- Show seconds: adds the seconds (12:20:45 PM).
A field that holds only dates (no time of day) shows the date formats only.
Fields that carry a time of day show a calendar-and-clock icon in the field list and on the shelf; date-only fields show a calendar.
A date grouped by hour, minute or second
On a table, chart or Matrix that groups by a date-time, pick Hour, Minute or Second under Granularity (Time grain on a Matrix level). The date's settings then offer:
- Show: Time (2:30 PM) or Date and time (Nov 08, 2026 2:30 PM). There's no date-only choice at these grains, since several rows would show the same day; to show the day in a column of its own, group another date field by Day.
- Date format (with Date and time), as above.
- Clock: 12-hour (2:30 PM) or 24-hour (14:30). Seconds show when the grain is Second.
These work on every database. The same settings appear on a Matrix row or column level, on a dashboard Grain control's options and on drill-down steps. A date grouped by day, week, month, quarter or year keeps its list of formats.
Use a date twice
Drag the same field into a detail table's Columns again. Each copy has its own label and its own format, so one column can read Inspected on (the date) and the next Inspected at (the time). Downloads keep both columns.
Other shelves, such as Rows on a table or chart, still hold a field once.
Type your own pattern
Choose Custom pattern… to type a pattern. Uppercase letters (YYYY MMMM MMM MM DD HH mm ss) work on every database. Lowercase letters (yyyy dd d h hh a, mixed with MMM MM HH mm ss) also give 12-hour times and unpadded days, on PostgreSQL, Snowflake and ClickHouse only:
| Part | Letters |
|---|---|
| Year | YYYY YY, or yyyy yy |
| Month | MMMM (January) MMM (Jan) MM (01) |
| Day | DD or dd (05), d (5) |
| Hour, 24-hour | HH (14) H |
| Hour, 12-hour | hh (02) h (2) |
| Minutes, seconds | mm ss |
| AM or PM | a |
For example, MMM d, yyyy h:mm a shows Jan 5, 2024 2:30 PM.
A date grouped by hour, minute or second takes the uppercase letters plus h, hh and a (or A), on every database: hh:mm a shows 02:30 PM. If a pattern doesn't suit the column or its grain, the reason shows under the box and the column keeps its format until you fix it.
Where 12-hour times and lowercase patterns work
On PostgreSQL, Snowflake and ClickHouse, a detail table's dates are drawn in the browser, and every option above works. On other databases the database formats a detail table's dates, so the 12-hour clock and patterns in lowercase letters aren't offered there yet; use the 24-hour clock and uppercase letters. A date grouped by hour, minute or second shows a 12-hour clock on every database.
In Excel downloads
CSV and PDF downloads show each column as it looks on the dashboard. Excel downloads keep dates as real dates you can sort and filter, in Excel's own date-and-time format.
With an agent
An agent sets the same formats through the MCP's column settings (see Card appearance): a date format with a pattern in uppercase letters, or with dialect: "date_fns" for lowercase patterns such as h:mm a. A lowercase pattern on a database that formats its own dates is refused with the reason. A date grouped by hour, minute or second takes a temporal_bucket pattern such as h:mm a; a pattern its grain doesn't take is refused with the reason and the patterns it does take.