### Answer
The variable {{current_time_America/New_York}} will return the current time in the America/New_York timezone, but the result is a string like “Thursday, March 28, 2024 at 11:46:04 PM EDT” [(1) ](
) [(2) ](
) [(3) ](
) [(4) ](
) . This is not an ISO 8601 timestamp, and Cal.com expects times in strict ISO 8601 format for bookings [(5) ](
) . If you pass the formatted string directly, it may be misinterpreted or shifted by a day, especially if the string is parsed differently by Cal.com or by any step in your workflow .
To resolve this:
- Ensure your logic or prompt converts {{current_time_America/New_York}} to an ISO 8601 string before making the booking API call. You may need to use an intermediate step or tool to handle this transformation, as Retell dynamic variables themselves return formatted strings, not ISO timestamps [(1) ](
) [(5) ](
) .
- Double-check that both your agent and Cal.com are using the same timezone, and that you are not introducing a date shift during formatting or parsing [(5) ](
) .
If you need to extract and format the variable into ISO 8601, consider doing this in your function/tool logic before sending the booking request .