https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can I set the current time in the agent
# ❓・bug-report
s
I am developing an agent that allows to make an appointment scheduling, in which the agent must validate the current date, example:(2025-05-08) today, and from there validate what day would be next Monday or Friday and send that date to a webhook. if someone could help me I would be very grateful.
r
You can use this dynamic variable --> {{current_time_America/Los_Angeles}}
Change your time zone as applicable
l
this isn't working. I have {{current_time_America/New_York}} and it is is giving PDT instead of EDT ..
f
just tested this and it works for me.
maybe check your prompt?
l
my prompt is solid. still broken
even without the dynamic variable, the timezone should be current LA timezone if im not mistaken, and it is saying it is oct 2023 ??
@User