https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can a single prompt agents already know what the t...
# ❓・ai-evy-support
j
@AI Evy Can a single prompt agents already know what the time is or do I have to pass in a variable from one of my make.com scinarios.
a
Thanks for tagging me @joesturdy. I'll look through relevant sources and get back to you shortly.
### Answer Single prompt agents can automatically access current time without requiring variables from your Make.com scenarios [(1) ]() . Retell AI provides built-in dynamic variables for time information . The available time variables include : - `{{current_time}}`: current time in America/Los_Angeles - `{{current_time_[timezone]}}`: current time in given timezone (for example: current_time_Australia/Sydney, current_time_America/New_York) However, there are some considerations for reliable time functionality [(2) ]() : - Use the time variables in live inbound calls rather than simulations - Consider duplicating your existing agent to get the latest dynamic-variable support - Include a fallback default in your prompt in case time fails Some users also send current time from their servers as dynamic variables to provide a reference point for the agent to produce absolute datetimes instead of relative times [(3) ]() .
​ To learn more, see the sources I considered: [[1] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[2] Agent ignores {{current_time_America/Los_Angeles}}](https://discord.com/channels/1186424376300679209/1379894107123613706) [[3] Help with current time within the prompt](https://discord.com/channels/1186424376300679209/1326737605378965514) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy do I have to mention the current date and time variable in the actual prompts itself or will the AI agent automatically know that I'm based in the UK?
a
Thanks for the follow-up, @joesturdy. I'll get back to you soon.
### Answer You need to explicitly include the time variable in your prompt for the agent to access it [(1) ]() . The agent won't automatically know your location or timezone - you must specify the timezone in the dynamic variable . For UK time, you would use
{{current_time_Europe/London}}
in your prompt . The format is
{{current_time_[timezone]}}
where you replace
[timezone]
with your specific timezone . Here's an example of how to include it in your prompt [(2) ]() :
Copy code
# Context 
current_time : {{current_time_Europe/London}}
business hours :
   - Monday – Friday: 9:00 AM – 5:00 PM
   - Saturday – Sunday: Closed

If the time is not in business hours, inform the customer that we are closed and end the call using this function "end_call"
The available system variables include [(1) ]() : -
{{current_time}}
- defaults to America/Los_Angeles timezone -
{{current_time_[timezone]}}
- current time in your specified timezone -
{{current_calendar}}
- 14-day calendar in America/Los_Angeles -
{{current_calendar_[timezone]}}
- 14-day calendar in your specified timezone These variables work in both single prompt and multi-state agents [(2) ]() .
​ 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.
j
@AI Evy does the {{current_time_Europe/London}} pass in the date aswell or just the time
a
Thanks for the follow-up, @joesturdy. I'll get back to you soon.
### Answer The
{{current_time_Europe/London}}
variable includes both date and time information [(1) ]() . According to the documentation, the current time variable provides the current time in the format like "Thursday, March 28, 2024 at 11:46:04 PM PST" . For timezone-specific variables like
{{current_time_Europe/London}}
, you get the current time in that specified timezone with the same comprehensive format that includes both the date and time . The documentation also mentions that there are some reported issues where the
{{current_time_Europe/London}}
variable sometimes provides incorrect date and time information [(2) ]() , and users have experienced random occurrences where the date might be incorrect [(3) ]() .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Retell provides wrong date and time in {{current_time_Europe/London}}](https://discord.com/channels/1186424376300679209/1404757608459534477) [[3] im using the {{current_time}} variable, but the agent says is march 14th instead of march 5th](https://discord.com/channels/1186424376300679209/1346957336966725683) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy do ai agents support UK Twilio numbers?
a
Thanks for the follow-up, @joesturdy. I'll get back to you soon.
### Answer Based on the available sources, I can't find specific information about UK Twilio number support for AI agents. However, there are some relevant details about international numbers: From the Discord discussion, there's mention of someone asking about Austrian numbers (+43) , and the response suggests that you could try forwarding an Austrian Twilio number to a US Retell number, though the charges would need to be considered [(1) ]() . The sources indicate that Retell AI primarily supports US numbers through their platform [(2) ]() , and the Import Phone Number API documentation shows examples with US phone numbers in E.164 format [(3) ]() . For your specific UK Twilio number question, I'd recommend: Visit [Contact Sales]() or visit [) for more specific information about UK number support. Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Agent Web Interface](https://discord.com/channels/1186424376300679209/1301491212691312711) [[2] AI Phone Numbers: How to Buy & Set Up | Retell AI](https://www.retellai.com/blog/how-to-buy-an-ai-phone-number-a-guide-on-your-options-and-providers) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.