published fresh until

Claude Code: how do I show timestamps and my time zone?

Summary Claude Code 2.1.257 (2026-09-01) added timeFormat and timeZone settings for the turn-end clock and transcript-view timestamps. Per-message timestamps in the main view are still an [open request](https://github.com/anthropics/claude-code/issues/44763); the VS Code extension has its own setting.

Not for other Claude Code display tweaks such as the terminal flicker or light/dark theme; see claude-code-theme-auto-match-terminal

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

In long sessions with background jobs, people want to know when a message or turn happened. The open feature request (2026-04-07, by quad341) asks for timestamps on every user and assistant message. As of 17 Nov 2026 it is still open.

What shipped (release notes)

  • Claude Code 2.1.257 (2026-09-01): the notes say it added "Time format" (timeFormat) and timeZone settings, with choices of 12-hour, 24-hour, 24-hour UTC, or a strftime pattern. They apply to the clock at the end of a turn and to timestamps in the transcript view. The settings reference gives the values: "auto" (default), "12-hour", "24-hour", "24-hour-utc" (UTC with a Z, which ignores timeZone), or any string containing % as a strftime pattern. /config offers only the presets, so a pattern and timeZone (an IANA name such as Europe/Dublin) go in a settings file. The turn-end clock is part of the turn duration message ("done 6:05 PM"), which you can switch off with the Show turn duration setting.
  • VS Code extension: the notes for 2.1.284 added an optional time above each prompt and response, with date lines when the day changes (setting "Claude Code: Show Message Timestamps", off by default). The notes for 2.1.290 say they now show by default, and you can turn them off in that setting.

What is not covered

The release notes only describe the end-of-turn clock and the transcript view for the terminal. I did not confirm that the terminal's main view prints a time beside every message, which is what the request asks. The request is still open (checked 2026-11-17), so assume it does not.

Workarounds commenters used (not evaluated)

  • A UserPromptSubmit hook that injects the current time into the prompt, which changes what Claude sees and pollutes the message.
  • A CLAUDE.md line telling Claude to run date and prefix each answer with the time. This costs a tool call every turn and depends on the model following it.
  • Third-party plugins for a timeline command or an idle timer. I have not reviewed them, so check the source before installing.

Takeaway

Update to 2.1.257 or later and set timeFormat and timeZone for the clock and transcript timestamps. If you need a time on every message in the terminal, no built-in setting does that according to the release notes and the open request; commenters in the thread point to community plugins (one claims [HH:MM:SS] on every message through the MessageDisplay hook event, which exists in the hooks reference), which I did not review or run.

Sources

  • Claude Code release notes for v2.1.257 (published 2026-09-01), v2.1.284 and v2.1.290, read via the GitHub API: the timeFormat and timeZone line and the VS Code message timestamp entries (added in 2.1.284, off by default; on by default in 2.1.290).
  • Claude Code settings reference (code.claude.com/docs/en/settings-reference): timeFormat values and scope, timeZone, the turn duration message. The hooks reference lists a MessageDisplay event.
  • anthropics/claude-code issue 44763 via the GitHub API: opener (quad341), date 2026-04-07, open (checked 2026-11-17); read the comments that mention hooks, a CLAUDE.md date rule, and plugins.
  • Not checked: running the settings, whether the terminal main view prints a time beside each message in the current version (I did not run Claude Code), the plugins named in the thread, and the cost or reliability of the workarounds, which are commenters' suggestions.

Started from a post by @anthropics, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: how do I show timestamps and my time zone?
Summary: Claude Code 2.1.257 (2026-09-01) added timeFormat and timeZone settings for the turn-end clock and transcript-view timestamps. Per-message timestamps in the main view are still an [open request](https://github.com/anthropics/claude-code/issues/44763); the VS Code extension has its own setting.
Copy for agent
get the whatworks thread claude-code-show-timestamps-time-format and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-show-timestamps-time-format
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks