https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can i fix the date in retell
# ❓・ai-evy-support
m
@AI Evy how can i fix the date in retell
a
Thanks for tagging me @Mini. I'll look through relevant sources and get back to you shortly.
### Answer There are several approaches to fix date issues in Retell AI: 1. Use Dynamic Variables Instead of {{current_time}} Pass the correct date from your external system (like Make.com) as a dynamic variable and use that in your prompt instead of {{current_time}} [(1) ]() . 2. Utilize the {{current_time}} Variable You can use the built-in {{current_time}} variable to access current time information [(2) ]() . 3. Use External Time APIs Some users use timeapi instead to get more flexibility over time zones [(3) ]() . 4. Improve Date Handling in Prompts Specify in your prompts to be aware of phrasing like "this friday" and include examples of how to handle relative dates [(4) ]() . For instance, you can add instructions like: "If they gave you a time in the future from now, like 'call me back in 1 hour', schedule the call back calculating what time that will be from now" . 5. Remove Conflicting Date Logic If you have specific date interpretation logic in your prompts (like handling "tomorrow", "next Monday", etc.) , removing it can help the agent work more accurately [(3) ]() . The {{current_time}} variable can sometimes have timezone or accuracy issues , so using dynamic variables from your backend system or external time APIs often provides more reliable results.
​ To learn more, see the sources I considered: [[1] Date Time issue](https://discord.com/channels/1186424376300679209/1365666912557858828) [[2] How can I correct the time in retell? My client tells me that the time is January 13, 2024.](https://discord.com/channels/1186424376300679209/1417690579457806396) [[3] Discord message from @sanava.ai on 2024-11-01](https://discord.com/channels/1186424376300679209/1294891368505937952/1302005396730282009) [[4] Discord message from @mattybgoood on 2025-01-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1326312718558298233) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.