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

# DateRangeParameterGranularity

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.71/libs/sdk-model/src/ldm/metadata/parameter/index.ts

Granularity of the period held by a [IDateRangeParameterDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idaterangeparameterdefinition/index.md).

**Signature:**

```typescript
export type DateRangeParameterGranularity = Extract<DateAttributeGranularity, "GDC.time.year" | "GDC.time.quarter" | "GDC.time.month" | "GDC.time.week" | "GDC.time.date" | "GDC.time.hour" | "GDC.time.minute" | "GDC.time.second">;
```
**References:** [DateAttributeGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dateattributegranularity/index.md)

## Remarks

The calendar granularities that date filters use (see [DateFilterGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.datefiltergranularity/index.md)), except that a week is `GDC.time.week`: an ISO-8601 week, whose days the backend shifts by the week start. Fiscal granularities are not supported.
