# Apply Timezone to Date

This action allows you to change the timezone of a date or timestamp to align with your selected timezone. Below are the configuration steps:

#### Pick Date

Use the **Dynamic Data Source Selector** popup to enter or select a date from a previous action or payload. This is the date to which the timezone will be applied.

#### Timezone of Input Date

Specify the timezone of the selected input date. If left blank, the input date will be treated as **UTC** by default.

#### Timezone of Output Date

Select the desired timezone from the list of available timezones to which the input date should be converted.

We’ve included screenshots to demonstrate how to set up this action and the resulting date conversion. Below is the sample payload data used:

```json
{
  "start_date": "2024-02-03",
  "end_date": "2025-02-03"
}
```

<figure><img src="/files/B402wxCO7qnzd63MvWeh" alt=""><figcaption><p>Apply Timezone Conversion Action Configuration</p></figcaption></figure>

<figure><img src="/files/S6JEoKUcWuQZZbtTywk6" alt=""><figcaption><p>Apply Timezone Conversion Action Result</p></figcaption></figure>


---

# 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://docs.fireapis.com/the-basics/logics/actions/date-utilities/apply-timezone-to-date.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.
