# /convert

The `/convert` command is used to convert a time to a specified timezone.

It has multiple options which you can pass to it:

* `after_timezone` - Required - Must be a timezone from the [Timezones List](https://cde90.gitbook.io/time-zone-bot/timezones-list)
* `before_timezone` - Optional (default is the timezone you set in `/set me` or the server default) - Must be a timezone from the [Timezones List](https://cde90.gitbook.io/time-zone-bot/timezones-list)
* `time` - Optional (default is current time) - Must be a valid time in the format `HH:MM` eg. `14:32` or `01:59`

### Example Usage:

![](https://3008721808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcXPmPxJWDMnNpPNCKE2a%2Fuploads%2F7aVXKh1o7IA1LtWpdtkH%2Fconvert1.PNG?alt=media\&token=3541400c-8188-4c64-85d5-ad933bf5f3e9)

![](https://3008721808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcXPmPxJWDMnNpPNCKE2a%2Fuploads%2FgE9h8J4g1XhPIhp1RRe1%2Fconvert4.PNG?alt=media\&token=a68aaa32-1ca9-4930-b2fb-0454f9a2ce86)

![](https://3008721808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcXPmPxJWDMnNpPNCKE2a%2Fuploads%2Fm3RghKQ1eXOkzOTiTE96%2Fconvert3.PNG?alt=media\&token=f495cb8e-8631-4580-b345-8fc2b906fb74)

![](https://3008721808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcXPmPxJWDMnNpPNCKE2a%2Fuploads%2FNPM6eYiiAPsS6dzSx96B%2Fconvert2.PNG?alt=media\&token=6eddb21a-55ae-45e5-abf7-08bbf433a5fe)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cde90.gitbook.io/time-zone-bot/commands/user-commands/convert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
