Vapi bot doesnt know current time and date
# support
v
Based on the information I found, you should add this date formatting code to your assistant's system prompt. For example:
Copy code
The current date and time is: {{\"now\" | date: \"%b %d, %Y, %I:%M %p\", \"America/Chicago\"}}
This uses LiquidJS syntax to dynamically insert the current date and time in your specified timezone. Sources: - [Vapi Documentation on Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables) - [Discord Discussion on Date Formatting](https://discord.com/channels/1211482211119796234/1341859467884498976)
k
Add {{"now" | date: "%b %d, %Y, %I:%M %p", "America/Chicago"}} directly in your assistant’s prompt on the dashboard to let it dynamically access the current date and time..