icloud_get_time
Retrieve current date, weekday, and time in a specified IANA timezone. Use before proposing, booking, or resolving relative dates.
Instructions
Get the current date, weekday and clock time in the owner's timezone, or in another IANA timezone.
Use when: before proposing, booking or resolving relative dates ('tomorrow', 'next Friday'), since you cannot know today's date otherwise. Not needed right after calendar_list_events or calendar_find_free_time, whose results already carry 'now'; not for open time (use calendar_find_free_time). Parameters: timezone only chooses the zone the clock is shown in; it changes no setting. Give an IANA Area/City name such as 'America/New_York', or 'UTC'. An offset such as '+02:00' or an abbreviation such as 'PST' is refused. Omitted or '' means the owner's DEFAULT_TIMEZONE (UTC when unset); call it without one to learn the owner's zone. Behavior: read-only and local: it reads the server clock and contacts no iCloud service, so it works even when iCloud is down. It is refused while the owner has paused the server. Returns: {now (ISO 8601 with offset, to the second), date (YYYY-MM-DD), weekday (English name, e.g. Monday), time (HH:MM, 24-hour), timezone (the IANA name used)}. Errors: an unknown name raises "Unknown timezone ..."; retry with a valid IANA name or omit it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone for times without an offset, e.g. 'Europe/Berlin'; default the owner's. |