According to the Reddit community, an agent can receive the current time in each new user message rather than through repeated changes to its system prompt. The reply says this keeps the prompt prefix unchanged, which can preserve prompt caching, while adding only a few fresh tokens per message.
The suggested example includes a timestamp with both the weekday and timezone. Stating these explicitly is intended to avoid having a model work out the weekday or silently interpret the time as UTC. The original question raises a trade-off: a fixed system prompt can become outdated, while frequent edits might reduce the benefit of caching.
The community reply also notes a limitation: in long conversations, older timestamps remain in the history, and an agent may rely on a stale one. This is one Reddit response, not evidence of how reliably the approach works across different agents or runtimes. Read the original post and reply on Reddit
🇬🇧 https://www.reddit.com/r/AI_Agents/comments/1y0kajk/how_do_you_put_date_and_time_to_agent_prompt