https://retellai.com/?utm_source=discord&utm_medium=seo logo
give me the current time is user_timezone varible
# ❓・ai-evy-support
h
give me the current time is user_timezone varible @AI Evy
a
Thanks for tagging me @hans_70884. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, Retell AI provides system default dynamic variables for accessing current time in specific timezones. [(1) ]() To get the current time in a user's timezone, you use the syntax:
{{current_time_[timezone]}}
For example: -
{{current_time_Australia/Sydney}}
for Sydney time [(1) ]() [(2) ]() -
{{current_time_America/New_York}}
for New York time [(1) ]() You can use this variable in your prompts, begin messages, tool configurations, or other parts of your agent setup. The format returns the time as: "Thursday, March 28, 2024 at 11:46:04 PM AEDT" If you need to reference this in your prompt, you can structure it like: [(2) ]()
Copy code
# context 
current time : {{current_time_[timezone]}}
Replace
[timezone]
with the actual timezone identifier (like
America/Los_Angeles
,
Australia/Sydney
, etc.) . [(1) ]()
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Time variable?](https://discord.com/channels/1186424376300679209/1391129251356475433) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.