Find answers to your questions

Current Date and Time

Background Information

When you interact with our AI agents, the current date and time is automatically provided to them with every message. This timestamp is consistently delivered in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) and always in UTC timezone.

Important Considerations for Timezone Conversion

If you need the agent to reference the current time in a user's local timezone:

  1. Always ask the user for their location to determine their timezone
  2. Request timezone conversion from UTC to the user's local time in the agent system instructions and in the "agent input" module of any given tool.

Standard Timezone Format

When specifying timezones in modules like Cal.com - Create a booking, you should generally use the IANA (Internet Assigned Numbers Authority) timezone database format, which follows this pattern:

  • Region/City (e.g., Asia/Dubai, America/New_York, Europe/London)

Please double check the API documentation of the integrated tool to confirm.

Example Interaction

User: What time is it now?
Agent: I have the current UTC time, but to give you your local time, could you tell me where you're located?
User: I'm in Dubai
Agent: Thank you. The current time in Dubai (Asia/Dubai timezone) is [converted time].

Remember that the agent always has access to the current UTC time and can convert it to any timezone when provided with the proper location information.

Did this answer your question?