https://retellai.com/?utm_source=discord&utm_medium=seo logo
why does my agent think its July 2025
# ❓・ai-evy-support
w
@AI Evy why does my agent think its July 2025? I use the get current time dybamic variable
a
Thanks for tagging me @weronika. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, there have been reports of the
{{current_time}}
variable displaying incorrect dates. [(1) ]() [(2) ]() [(3) ]() Some users have experienced similar issues where the agent states the wrong date or time. [(1) ]() [(2) ]() Here are some troubleshooting steps that have worked for others: 1. Try refreshing or restarting your browser - One user found that switching from Chrome to Safari resolved the issue, and restarting Chrome also helped. [(3) ]() 2. Check for test data variables - In one case, deleting test data variables in the agent configuration resolved the date issue. 3. Verify your dynamic variable syntax - Ensure you're using the correct format:
{{current_time}}
for America/Los_Angeles timezone, or
{{current_time_[timezone]}}
for a specific timezone (e.g.,
{{current_time_America/New_York}}
) . [(4) ]() 4. Test in both the LLM test interface and actual calls - Sometimes the issue appears in one but not the other. [(1) ]() If the problem persists after trying these steps, you may want to reach out to the Retell team directly, as there have been instances where engineering intervention was required to resolve date/time variable issues. [(2) ]()
​ To learn more, see the sources I considered: [[1] im using the {{current_time}} variable, but the agent says is march 14th instead of march 5th](https://discord.com/channels/1186424376300679209/1346957336966725683) [[2] {{current_time}} not working properly since yesterday, 2025-03-11](https://discord.com/channels/1186424376300679209/1349403119058161747) [[3] when using {{current_time}}, it says todays date is Jan 29th](https://discord.com/channels/1186424376300679209/1341124870922174587) [[4] 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.
w
@AI Evy when further asked about what’s going wrong with the variable, agent stated “It looks like that variable hasn't populated for me, so I'm not able to read it.” what should i do?
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer When your agent says the
{{current_time}}
variable "hasn't populated," this indicates the variable isn't being evaluated properly. Here's what you should check: [(1) ]() 1. Verify your variable syntax The correct format is
{{current_time}}
for America/Los_Angeles timezone, or
{{current_time_[timezone]}}
for a specific timezone (like
{{current_time_Australia/Sydney}}
) . 2. Check where you're using the variable Dynamic variables work in specific locations: - Prompts (agent instructions) - Begin message - Tool configurations (custom function URLs, tool descriptions, property descriptions) - Call handling (voicemail prompts, transfer phone numbers, warm transfer instructions) - Webhook URLs 3. Ensure proper spacing The spaces around the variable name are trimmed when evaluating, but make sure there are no typos or extra characters inside the curly braces. 4. Test the variable exists You can use an equation condition to check if the variable is being set:
{{current_time}} exists
. This returns true if the variable is defined. 5. Check for agent-level default variables If you've set default values at the agent level, these should serve as fallbacks. Make sure you haven't accidentally overridden
{{current_time}}
with a custom variable of the same name. [(1) ]() [(2) ]() If the issue persists after verifying these points, the problem may require direct support from the Retell team, as there have been known issues with the
{{current_time}}
variable displaying incorrect dates.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy where do i do this " T est the variable exists You can use an equation condition to check if the variable is being set: {{current_time}} exists. This returns true if the variable is defined."
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer You test if
{{current_time}} exists
in transition conditions within your Conversation Flow agent. [(1) ]() Here's where to set this up: 1. Open your Conversation Flow in the dashboard 2. Click on a node where you want to test the variable 3. Click the "+" button to add a transition condition 4. Choose "equation" transition condition (not "prompt") 5. **Enter the equation**:
{{current_time}} exists
This equation condition checks whether the
{{current_time}}
dynamic variable is defined and has a value. [(2) ]() [(1) ]() Example equation conditions you can use: [(1) ]() -
{{current_time}} exists
- Returns true if the variable is defined -
{{current_time}} does not exist
- Returns true if the variable is undefined Note that equation conditions are evaluated from top to bottom, and the agent will follow the first condition that evaluates to true. If you're still experiencing issues with the variable not populating, you might also try using a Logic Split Node after your Begin node that transitions based on whether
{{current_time}}
exists. [(3) ]() [(4) ]()
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] Discord message from @jakeslaps on 2025-03-27](https://discord.com/channels/1186424376300679209/1186462578310910112/1354813211043434521) [[4] Issues with transitions - getting stuck on Conversation and Logic Split Nodes using dynamic variable](https://discord.com/channels/1186424376300679209/1437030319541719172) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.