arina_06888
08/09/2025, 6:52 PMAI Evy
08/09/2025, 6:52 PMAI Evy
08/09/2025, 6:52 PM{{current_time}} - Provides the current date and time
- {{current_calendar}} - Provides a 14-day calendar in America/Los_Angeles timezone
- {{current_calendar_[timezone]}} - Provides a 14-day calendar in a specified timezone
Implementation Steps:
1. Add the current time variable to your agent's prompt :
"Current time is {{current_time}}"
2. Use the calendar variable for date calculations :
"Today's date and upcoming dates: {{current_calendar}}"
Troubleshooting Date Issues:
If you're experiencing issues with incorrect day-of-week calculations, there are a few solutions based on community feedback [(2) ]() :
- Ensure you include the current time variable in your prompt
- Consider upgrading to GPT-4o instead of GPT-4o mini if you're experiencing date accuracy issues
- Make sure to specify the current year in your prompt
Dynamic Variables Usage:
You can use these variables in various parts of your agent configuration including prompts, begin messages, and tool descriptions [(1) ]() . All dynamic variable values must be strings .
This approach ensures your agent has accurate, real-time date information and can properly calculate relative dates like "next week."AI Evy
08/09/2025, 6:52 PMAI Evy
08/09/2025, 6:52 PM