https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> There is something wrong wi...
# ❓・ai-evy-support
p
@AI Evy There is something wrong with date to text conversion.
a
Thanks for tagging me @psilentsycho. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available information, there are several date-related issues that users have reported with Retell AI [(1) ]() , [(2) ]() , [(3) ]() . The main issues include: **Date Accuracy Problems**: Users report that Retell AI gets dates wrong frequently, with one user noting it happens "70% of the time" [(1) ]() , [(3) ]() . This includes issues like referring to today's date as "tomorrow" [(2) ]() . **Timezone Issues**: For users in different timezones like Australia, the agent may incorrectly refer to dates, such as saying "tomorrow March 6th" when today is March 6th . **Potential Solutions**: 1. **Use Dynamic Variables**: You can use
{{current_time}}
and convert it to your specific timezone . 2. **Send Custom Date/Time**: Some users suggest sending your own date and time using dynamic variables rather than relying on Retell's built-in date functions [(3) ]() . 3. **Hard-coded Date Arrays**: One workaround is to provide hard-coded date values in your prompt to ensure accuracy [(1) ]() :
Copy code
json
[
  {"date": "March 11, 2025", "day": "Tuesday"},
  {"date": "March 12, 2025", "day": "Wednesday"},
  ...
  {"date": "March 15, 2025", "day": "Saturday"},
  {"date": "March 16, 2025", "day": "Sunday"},
  ...
]
**Text Normalization**: Retell AI does have a text normalization feature that converts dates to spoken form (e.g., "Jul 5th, 2024" becomes "july fifth, twenty twenty four") , but this adds ~100ms latency and currently only supports English, Spanish, French, and German [(4) ]() . If you're experiencing specific date conversion issues, consider implementing one of the workarounds mentioned above or providing more specific details about your use case.
​ To learn more, see the sources I considered: [[1] Retell getting dates wrong and then being over confident about it.](https://discord.com/channels/1186424376300679209/1348961777077063710) [[2] Having issue with the date](https://discord.com/channels/1186424376300679209/1347008981398196254) [[3] Discord message from @gebstrategy on 2025-03-11](https://discord.com/channels/1186424376300679209/1294891368505937952/1349112741129879572) [[4] Normalize text for speech](https://docs.retellai.com/build/normalize-text) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
p
@AI Evy Speech normalization has been enabled. Is there any other setting I can tweak? Or should I return the date in a different format?
@AI Evy Speech normalization has been enabled. Is there any other setting I can tweak? Or should I return the date in a different format?
a
Thanks for the follow-up, @psilentsycho. I'll get back to you soon.
### Answer Good that you've enabled speech normalization! [(1) ]() Here are additional settings you can configure to improve date handling: ## Additional Speech Settings Beyond speech normalization, you can configure these settings that may help with date pronunciation: [(2) ]() [(3) ]() - **Boosted Keywords**: Provides some biases towards certain words, making it easier to get recognized - you could add specific date-related terms here - **Pronunciation**: Set up pronunciation guide for specific words - this allows you to specify exactly how dates should be pronounced - **Disable Transcript Formatting**: Return transcript with entities in plain words, not formatted to timestamps, numbers, etc - this can prevent issues caused by incorrect transcript formatting ## Date Format Recommendations For the date format itself, speech normalization converts dates like this: [(1) ]()
Jul 5th, 2024
becomes
july fifth, twenty twenty four
Since speech normalization adds ~100ms latency and currently supports English, Spanish, French, and German , you might want to: 1. Pre-format dates in your prompt to match the spoken form you want 2. Use the pronunciation setting to guide specific date pronunciations [(2) ]() [(3) ]() 3. Consider the boosted keywords feature for important date-related terms The pronunciation feature is particularly useful - you can guide the model to pronounce specific words, names, or phrases in a particular way. [(4) ](ht
tps://www.retellai.com/changelog) [(5) ]()
​ To learn more, see the sources I considered: [[1] Normalize text for speech](https://docs.retellai.com/build/normalize-text) [[2] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[3] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[4] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.