https://retellai.com/?utm_source=discord&utm_medium=seo logo
WHAT THE CURRENT TIME VARIBLE WITH THE USERS CURRE...
# ❓・ai-evy-support
h
WHAT THE CURRENT TIME VARIBLE WITH THE USERS CURRENT TIME @AI Evy @AI Evy
a
Thanks for tagging me @hans_70884. I'll look through relevant sources and get back to you shortly.
### Answer [(1) ]() , [(2) ]() The
{{current_time}}
dynamic variable provides the current time in America/Los_Angeles timezone by default . The format is: "Monday, March 24, 2025 at 02:53:01 PM PDT" [(1) ]() . To get the current time in a specific timezone, use
{{current_time_[timezone]}}
[(1) ]() [(2) ]() . For example: -
{{current_time_Australia/Sydney}}
[(1) ]() -
{{current_time_America/New_York}}
You can also use nested dynamic variables to make the timezone itself dynamic [(2) ]() :
Copy code
{{current_time_{{my_timezone}} }}
If you set
my_timezone
to
America/Los_Angeles
, this evaluates to
{{current_time_America/Los_Angeles}}
first, then resolves to the actual time . Note: There have been some browser-specific issues reported where Chrome showed incorrect dates while Safari displayed correctly [(3) ]() . If you encounter date discrepancies, try testing in a different browser .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] when using {{current_time}}, it says todays date is Jan 29th](https://discord.com/channels/1186424376300679209/1341124870922174587) ​
h
{{current_time_{{user_timezone}}}} is this correct or this {{current_time_{{user_timezone}} @AI Evy
a
Thanks for the follow-up, @hans_70884. I'll get back to you soon.
### Answer [(1) ]() The correct syntax is:
{{current_time_{{user_timezone}}}}
This nested variable structure works as follows: 1. First,
{{user_timezone}}
evaluates to its value (e.g.,
America/New_York
) 2. Then
{{current_time_America/New_York}}
evaluates to the actual time The key is ensuring both sets of double curly braces are properly closed. Example from the documentation:
Copy code
{{current_time_{{my_timezone}} }}
If you set
my_timezone
to
America/Los_Angeles
, this evaluates to
{{current_time_America/Los_Angeles}}
first, then resolves to the actual time. Make sure your
user_timezone
dynamic variable is set to a valid timezone identifier (like
America/New_York
,
Europe/London
,
Australia/Sydney
, etc.) when you create or update the call. [(1) ]() [(2) ]()
​ 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.