> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# setDashboardDateFilterConfigMode()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/commands/dashboard.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Creates the [ISetDashboardDateFilterConfigMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.isetdashboarddatefilterconfigmode/index.md) command.

**Signature:**

```typescript
export declare function setDashboardDateFilterConfigMode(mode: DashboardDateFilterConfigMode): ISetDashboardDateFilterConfigMode;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| mode | [DashboardDateFilterConfigMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboarddatefilterconfigmode/index.md) | The visibility mode to set. |

**Returns:**

[ISetDashboardDateFilterConfigMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.isetdashboarddatefilterconfigmode/index.md)

set dashboard date filter config mode command

## Remarks

Dispatching this command will set the visibility mode of the dashboard date filter to the provided value.
