https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do you ensure the agent knows what todays date...
# ❓・ai-evy-support
j
@AI Evy how do you ensure the agent knows what todays date and time is?
a
Thanks for tagging me @JockRusky. I'll look through relevant sources and get back to you shortly.
### Answer --- Use Retell's default system dynamic variables to give your agent the current date and time. [(1) ]() Add
{{current_time}}
to your prompt, and Retell automatically provides the current time in
America/Los_Angeles
timezone. For a specific timezone, use
{{current_time_[timezone]}}
— for example: -
{{current_time_America/New_York}}
-
{{current_time_Australia/Sydney}}
You can include it in your prompt like this:
Copy code
Current time is {{current_time}}
## Other Useful System Variables -
{{current_hour}}
— Current hour in
America/Los_Angeles
-
{{current_hour_[timezone]}}
— Current hour in a specified timezone -
{{current_calendar}}
— 14-day calendar starting from today These variables are automatically provided by Retell — no configuration required. ## Troubleshooting Tip If you're testing in the LLM Playground and the date appears incorrect, check if you have any test data variables set that might override the system variable. Deleting stale test data has resolved this issue for some users. [(2) ]()
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] when using {{current_time}}, it says todays date is Jan 29th](https://discord.com/channels/1186424376300679209/1341124870922174587) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy what is the date and time variable for Europe/London
a
Thanks for the follow-up, @JockRusky. I'll get back to you soon.
### Answer For Europe/London, use: [(1) ]()
Copy code
{{current_time_Europe/London}}
This will return the current date and time in the Europe/London timezone (e.g., "Thursday, March 28, 2024 at 11:46:04 PM GMT") . For just the current hour in that timezone, use:
Copy code
{{current_hour_Europe/London}}
No configuration is required—these are system default variables provided automatically by Retell.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.