#Is there a dynamic variable to get current date
1 messages · Page 1 of 1 (latest)
AI-generated Answer for hiroto_1288
Yes. In Agents you can use system dynamic variables that include the current date/time:
- {{system__time}} — current time in the specified timezone, human‑readable and includes the date (e.g., “Friday, 12:33 12 December 2025”). You can set the timezone via system__timezone. (elevenlabs.io)
- {{system__time_utc}} — current UTC time in ISO format. (elevenlabs.io)
Note: In system prompts these values are captured at conversation start; in tool calls they update at execution time. Use the {{variable_name}} syntax in prompts/messages. (elevenlabs.io)
There isn’t a separate date‑only variable documented; use the above and parse/format as needed. (elevenlabs.io)
Sources:
Dynamic variables | ElevenLabs Documentation
Dynamic variables | ElevenLabs Documentation
Dynamic variables | ElevenLabs Documentation
Dynamic variables | ElevenLabs Documentation
if i do this as prompt is this okay
- Suggest 2 suitable slots within the current 7 days (assume year 2026), starting from the current time {system__time} in the timezone {system__timezone} (Asia/Dubai).