timezone_datetime
Get the current date and time for any specified timezone in ISO 8601 format. Convert timezone names to accurate local datetime values.
Instructions
Return the current date and time for a specified timezone.
Parameters
timezone : str, optional IANA timezone name (e.g., "UTC", "Asia/Kolkata"). Defaults to "UTC".
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - timezone : str Requested timezone. - datetime : str Current datetime in ISO 8601 format for the given timezone.
If an invalid timezone is provided, an error response is returned.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | UTC |