https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why is the agent getting the local day and time wr...
# 🎖・ask-retell-partners
s
@AI Evy Why is the agent getting the local day and time wrong?
a
Thanks for tagging me @Steve. I'll look through relevant sources and get back to you shortly.
### Answer This is a common issue with AI agents and typically stems from time zone misalignment or prompting issues. Likely causes and fixes: 1. Time zone not set correctly — Set your agent's time zone to your local zone in the agent settings. [(1) ]() 2. Missing current time in prompt — Add
Current time is {{current_time}}
to your prompt and tell it to convert that to your time zone. [(1) ]() [(2) ]() 3. LLM model limitations — If you're using GPT-4o mini or Haiku, these models can struggle with date/day calculations. Try switching to GPT-4o or Sonnet for better accuracy. [(2) ]() 4. Missing year context — Make sure to include that we are in 2025 in your prompt. Check out these potentially useful sources: - [Having issue with the date]() - [Agent giving incorrect day of week when telling patients their visit dates]() Would you like more details on any of these solutions?
​ To learn more, see the sources I considered: [[1] Having issue with the date](https://discord.com/channels/1186424376300679209/1347008981398196254) [[2] Agent giving incorrect day of week when telling patients their visit dates](https://discord.com/channels/1186424376300679209/1296650281463058432) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.