Anthropic states that it collects timezone settings and service access time. In a normal Claude Desktop chat on Ubuntu, transmission of exact system clock readings to the model remains unconfirmed. In our test, terminal-based Claude Code 2.1.329 added the local calendar date to the prompt. There was no timezone identifier or exact time in the verified prompts. If Claude Code runs date -Iseconds through Bash, the command output gives the model the runtime time with a UTC offset. Anthropic Privacy Policy · Claude Code permissions
This article was prepared by Vladimir Lomtev’s AI studio. Documentation and versions were checked on November 20, 2026. The analysis covers the official Claude Desktop for Linux and locally run Claude Code. Desktop sign-in via subscription and server-side additions to the model context were not measured in this test. Studio website
- What time-related information you need to distinguish
- What is known about Claude Desktop on Ubuntu
- What terminal-based Claude Code transmits
- How to check the time in the terminal
- How to set time for deadlines and schedules
- Frequently Asked Questions
What time-related information you need to distinguish
A time zone is a set of rules for converting time from UTC to local time. For example, the identifier Europe/Berlin accounts for seasonal changes. An offset like +01:00 applies to a specific moment. It is enough to convert one timestamp to UTC, while future scheduling usually requires a named time zone. IANA time zone database
Local date tells you which calendar day is current in the client environment. Two computers can show different dates at the same moment. Claude access time is the technical timestamp of a request to the service. Anthropic’s policy includes it in usage data, but does not specify whether a particular timestamp is taken from Ubuntu’s clock. Anthropic Privacy Policy
| Scenario | What time-related information is available | Source |
|---|---|---|
| Anthropic technical data collection | The policy lists time zone settings, date, and access time | Anthropic policy |
| Normal Claude Desktop chat | Exact local time in the model context has not been confirmed | Published Claude system prompts |
| Claude Code CLI 2.1.329 with a local test API | In prompts from two runs, the client calendar date was detected | Verification below |
| Claude Code after a Bash call | Output date -Iseconds contains the date, time to the second, and the runtime offset |
GNU Coreutils |
| Clock in the Claude Code interface | Settings timeFormat and timeZone control how timestamps are displayed |
Claude Code settings guide |
What is known about Claude Desktop on Ubuntu
Anthropic offers an official Claude Desktop app for Ubuntu and Debian. As of the verification date, the documentation describes the Linux version as beta. The app includes Chat, Cowork, and Code. Normal chat and a tool session may receive information from different sources. When testing, note the tab and client version. Claude Desktop for Linux documentation · Claude app and subscription overview
Time zone in the package and privacy policy
In the official Claude Desktop 5.11492.5 package for Linux amd64, we checked the app.asar resources. The diagnostics code includes a call to Intl.DateTimeFormat().resolvedOptions(), and the timeZone result is written to the timezone field. This shows that the app can read the environment time zone. Anthropic’s policy separately lists time zone settings among the automatically collected device information. From these two sources, you cannot determine the destination address or the fields of each normal chat request. Official APT index · Anthropic Privacy Policy
Access time and time in the model response
If Claude correctly names the local hour, the answer itself does not reveal the source. The service can match access time to an estimated region. Anthropic describes this approach in the Economic Index Cadences study from June 26, 2026. In footnote 7, the authors clarify that they estimated time of day by state, determined from the chat’s IP address. This is a description of the research method. It does not allow you to infer which time zone a specific user’s chat used. Anthropic Economic Index, footnote 7
Anthropic publishes Claude’s core system prompts for several models. They help explain how the chat works, but the public text does not provide a full picture of the variables the service may add for a specific session. To verify exactly what Desktop transmits, you need a separately measured request from an authenticated client. To verify what the model ultimately received, you would also need to observe its input context. Claude system prompt documentation
What terminal-based Claude Code transmits
Claude Code starts a session from the terminal, collects context, and sends a prompt to the model. The parameters of a specific run affect that context. For comparison with Desktop, the outgoing request from the CLI itself is checked below. If you are still getting used to the terminal interface, related commands and workflows are described in the Claude Code guide. CLI guide · Getting started with Claude Code
What two runs with different TZ values showed
On November 20, 2026, on Ubuntu 26.04.1 LTS, we launched Claude Code 2.1.329 twice with the model claude-sonnet-4-6 and the same short prompt in -p. Instead of the cloud API, we used a local HTTP server, a new temporary directory, a test key, and disabled tools and telemetry. The server accepted POST requests at /v1/messages and returned HTTP 400 with a test message. Tools and user settings loading were disabled with the parameters --tools "" and --setting-sources "". In ANTHROPIC_BASE_URL we specified the server address as 127.0.0.1. The model response was not requested from Anthropic in this test. Changing the TZ variable set the time zone only for the new process, so changing Ubuntu’s system setting was not necessary. CLI reference · TZ rules in GNU Coreutils
| Process TZ | Reference offset | Calendar date in the request |
|---|---|---|
Pacific/Kiritimati |
+14:00 |
November 21, 2026 |
Pacific/Pago_Pago |
−11:00 |
November 20, 2026 |
For each run, the server received three requests. In all six cases, the CLI added a line with today’s date. The names of the two test time zones and the local time in ISO format with an offset were not found in the request bodies. This test shows the behavior of one CLI version, one selected model, and the local API route. For an interactive session, subscription-based authentication, and a different model, the data set needs to be checked separately.
Can Claude Code automatically pass hours and minutes?
In binary 2.1.329, there is a conditional mechanism that formats local time to seconds with a UTC offset and can add it to the request when conditions related to launch settings and the selected model are met. In the two runs above, the mechanism was not activated. For normal use, this difference matters: the code confirms the capability, while the observed requests describe a specific run.
The timeZone and timeFormat settings in settings.json are documented as interface parameters. They control, for example, the turn-complete label. From the display “ready at 18:05,” you cannot tell whether the model received 18:05 in context. CLI telemetry is described separately. DISABLE_TELEMETRY=1 disables metrics and feature-flag evaluation, so the result of a test with this setting cannot be applied to a run with default parameters. Claude Code display settings · Claude Code data collection
How to check the time in the Ubuntu terminal
Run the command in the same environment where Claude Code is running. If you need UTC to compare with the server log, run both commands and label the results. GNU date help
date -Iseconds
date -u -Iseconds
The first command prints the process’s local time and numeric offset. The second prints the time in UTC. For example, 2026-11-20T18:45:30+03:00 and 2026-11-20T15:45:30+00:00 represent the same moment. If you need a named time zone, check the process’s TZ setting and the system time zone separately. The offset +03:00 can be shared by multiple regions. GNU Coreutils on time zone rules
You can ask Claude Code to call Bash: “Run date -Iseconds and return the exact command output on one line.” Make sure the call actually appears in the session. Claude Code runs the tool within the permissions in effect. When working over SSH, in a cloud session, or in a container, the output belongs to the environment where the command was launched. Bash permissions in Claude Code
In a normal chat, you can enter the timestamp manually. For a task like “how much time is left until the release,” provide the start time and deadline in one format. Then the result can be reproduced regardless of which time zone the app shows.
How to specify time for deadlines and schedules
For a one-time deadline, a full timestamp with an offset works well: “Release on November 21, 2026 at 09:00+03:00.” If the log is recorded in UTC, the same date can be written as 2026-11-21T06:00:00Z. Using both forms helps catch errors when passing a deadline between chats, a task system, and CI.
For a recurring run, store the local hour together with the named time zone, for example “weekdays at 09:00, Europe/Berlin.” In winter and summer, these can correspond to different UTC hours. If crossing midnight matters in deadlines, check the full send date and execution date. For a work agent, define the source of current time and specify which time zone determines the business day. IANA Time Zone Database · Claude Code business use cases
For a “yesterday” report, define the date range in the business time zone in advance. For example, a calendar day in Moscow starts at 00:00 Moscow time, even if the server stores records in UTC. Pass the agent the start of the period inclusive and the start of the next day as an exclusive upper bound. Then adjacent reports can use one boundary format without overlapping records at midnight.
Frequently asked questions
Does terminal Claude Code know what day it is today?
In the verified requests, Claude Code 2.1.329 added today’s date on the client side. Changing TZ changed it when crossing the calendar-day boundary. This result does not, by itself, apply to the behavior of another CLI version or API route.
Can a user’s location be determined from their time zone?
A device can be configured to use any time zone. UTC offsets can be the same across different regions. Anthropic lists the IP address and possible IP-based location information as separate technical data. Anthropic policy
Does changing TZ change the IP address?
TZ sets the local time rules for the process. The network route remains a separate setting. For a one-time check, you can set TZ=UTC date -Iseconds, and then compare the result with a normal call to date -Iseconds. GNU documentation on TZ
Does the result match when logging in via the subscription and when connecting to the local API?
The check covered a local receiver with a test key. A subscription session may use different settings and flags. To draw conclusions about a specific session, you need its CLI version, connection method, and observed data.
Time setup in an AI-driven business process
Vladimir Lomtev’s AI studio audits processes and integrates AI agents with business systems. In a timeline-sensitive scenario, the studio can identify the source of an event’s time, configure transmission of the UTC timestamp and named time zone, and test deadline handling around midnight and during the switch to daylight saving time. The first step is to take one process, for example a “yesterday” report, and fix the record source, time zone, and expected range. Vladimir Lomtev’s AI studio
Conclusion
On Ubuntu, Claude Desktop can read the time zone setting, and Anthropic lists it and the access time in its data collection policy. For a regular chat, the exact time in the model context remains unconfirmed. In tests of terminal Claude Code, the date depended on TZ, and to get the exact time in a task, it is enough to check the output of date -Iseconds in the required environment or pass the timestamp explicitly.
