Current Date issue
# support
d
i want to give the agent a context of the current date, but the assistant tells me back tomorrow date, how can i solve this i already use {{now}} or {{date}} still not working
@Shubham Bajaj
v
@Diego I'm here to help! If you're using
{{now}}
or
{{date}}
and the assistant is still providing you with tomorrow's date, it could be due to a time zone discrepancy or a formatting issue within the system. To address this, you can explicitly set the time zone to UTC or the desired time zone to ensure that the date context is correct. If you're specifying the date within your code or API call, make sure that the date format is correct and that the system recognizes it as the current date. If you continue to face issues, it might be necessary to check the documentation for the specific method you're using to provide the date context or reach out to support for more detailed assistance. Would you like me to guide you through setting the time zone or checking the date format?
You can continue this conversation by mentioning me in the message.
s
@Diego as of now current date dynamic variable is not working you have to inject it by yourself.
23 Views