noble_badger_16849
10/30/2025, 6:55 AMAI Evy
10/30/2025, 6:55 AMAI Evy
10/30/2025, 6:55 AM{{current_time}} variable to your agent's prompt or context [(1) ]() [(2) ]() .
Here's how to set it up:
In your agent's context or prompt, add: [(1) ]()
Current date and time: {{current_time}}AI Evy
10/30/2025, 6:55 AM{{current_time_[timezone]}}, for example {{current_time_America/Los_Angeles}} [(1) ]() [(3) ]() .
Important considerations:
- The {{current_time}} variable defaults to Los Angeles time, but you can customize it for your timezone [(1) ]()
- Make sure to publish your agent after making changes for them to take effect [(3) ]()
- If you're experiencing issues where the agent reports an incorrect date, verify that you've included the dynamic variable in your prompt and that your agent is published [(3) ]() [(4) ]()
- LLMs can sometimes struggle with date interpretation, so it helps to be explicit in your prompt about handling phrases like "this Friday" or "next week" [(5) ]()
The dynamic variable will automatically inject the current date and time into your agent's context, allowing it to respond accurately when users ask about the current date [(1) ]() .AI Evy
10/30/2025, 6:55 AMAI Evy
10/30/2025, 6:55 AMnoble_badger_16849
10/30/2025, 10:57 AM