JockRusky
03/03/2026, 1:53 PMAI Evy
03/03/2026, 1:53 PMAI Evy
03/03/2026, 1:54 PM{{current_time_Europe/London}} correctly provides the current timestamp (e.g., "Thursday, March 28, 2024 at 11:46:04 PM GMT") , the LLM itself may still make errors when calculating relative dates like "tomorrow." [(1) ]()
Here are some approaches to address this:
1. Use the Calendar Variable Instead
For date-related tasks, consider using {{current_calendar_Europe/London}} which provides a 14-day calendar with dates already calculated. This gives the LLM explicit date references rather than requiring it to compute them.
2. Lower Temperature Doesn't Guarantee Accuracy
While you've set temperature to 0.00 (which makes responses more deterministic) , this doesn't prevent the LLM from making calculation errors—it just makes it more likely to repeat the same error consistently. [(2) ]()
3. Pre-Calculate Dates Externally
For critical date accuracy, consider passing pre-calculated dates as dynamic variables via your webhook or API call. For example, pass {{tomorrow_date}} already formatted as "04/03/2026" rather than asking the LLM to calculate it. [(1) ]()
When using the Create Phone Call API, you can set these in `retell_llm_dynamic_variables`:
json
{
"today_date": "03/03/2026",
"tomorrow_date": "04/03/2026"
}
[(2) ]()
4. Strengthen Prompt Instructions
In your prompt, explicitly state the current date and provide examples:AI Evy
03/03/2026, 1:54 PMToday is {{current_time_Europe/London}}.
When I say "tomorrow", calculate exactly one day forward.
Example: If today is 03/03/2026, tomorrow is 04/03/2026.
The fundamental limitation is that LLMs can struggle with arithmetic and date calculations even with explicit instructions. Pre-calculating dates and passing them as dynamic variables is the most reliable solution. [(1) ]()AI Evy
03/03/2026, 1:54 PMAI Evy
03/03/2026, 1:54 PMJockRusky
03/03/2026, 1:57 PMAI Evy
03/03/2026, 1:57 PMAI Evy
03/03/2026, 1:58 PM{{tomorrow_date}} = "04/03/2026") via your webhook or API
2. Use {{current_calendar_Europe/London}} which provides a 14-day calendar with dates already calculated, removing the need for the LLM to compute them
Pre-calculating dates and injecting them as dynamic variables remains the most reliable approach for date-critical workflows.AI Evy
03/03/2026, 1:58 PMAI Evy
03/03/2026, 1:58 PM