HCl
03/27/2025, 11:48 PMVapi Support Bot
03/27/2025, 11:49 PMThe current date is {{ "now" | date: "%A, %B %d, %Y", "YOUR_TIMEZONE" }}
and the time is {{ "now" | date: "%I:%M %p", "YOUR_TIMEZONE" }}
Replace YOUR_TIMEZONE
with your actual timezone (e.g., "America/New_York", "Australia/Melbourne").
### 2. Use Separate Variables for Date, Time, and Day
For better accuracy, use separate variables for date, time, and day of the week. According to [user discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341751641547870281), this helps the assistant correctly determine all components:
Current date: {{ "now" | date: "%B %d, %Y", "YOUR_TIMEZONE" }}
Current time: {{ "now" | date: "%I:%M %p", "YOUR_TIMEZONE" }}
Current day: {{ "now" | date: "%A", "YOUR_TIMEZONE" }}
### 3. Ensure Proper Timezone Configuration
Make sure you're explicitly specifying the correct timezone in your formatting. According to [troubleshooting information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342347443114872863), timezone handling needs to be explicit in the system prompt context.
### 4. Consider Model SelectionVapi Support Bot
03/27/2025, 11:49 PMShubham Bajaj
03/30/2025, 7:24 AM