{"version":"2.1.323","anchor":"session-creation-time-is-passed-in-via-claude-code-session-c","canonical_anchor":"session-creation-time-is-passed-in-via-claude-code-session-c","heading":"Claude Code reads the session's creation time from an environment variable","tier":"use","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/session-creation-time-is-passed-in-via-claude-code-session-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Claude Code reads the session's creation time from an environment variable\n\nClaude Code now reads `CLAUDE_CODE_SESSION_CREATED_AT_MS` and records it as the session's creation time\n\n**What**\n\nClaude Code now reads `CLAUDE_CODE_SESSION_CREATED_AT_MS`, an environment variable (a named value handed from one program to the programs it starts). It stores the value as the session's creation time in the information it records about the session, next to the value of `CLAUDE_CODE_SESSION_ORIGIN`.\n\n**Why**\n\nA program that starts Claude Code can now tell it when the session was created.\n\n- Area: Environment Variables\n- Names: `CLAUDE_CODE_SESSION_CREATED_AT_MS`, `CLAUDE_CODE_SESSION_ORIGIN`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}