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

# IDateRangeParameterPeriod

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

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 interface IDateRangeParameterPeriod 
```

## Remarks

`from` and `to` are inclusive backend period literals in the format of the granularity: `"2025"` for `GDC.time.year`, `"2025-3"` for `GDC.time.quarter`, `"2025-08"` for `GDC.time.month`, `"2025-33"` for `GDC.time.week` (the ISO-8601 week number), `"2025-08-14"` for `GDC.time.date`, `"2025-08-14 09"` for `GDC.time.hour`, `"2025-08-14 09:30"` for `GDC.time.minute` and `"2025-08-14 09:30:15"` for `GDC.time.second`. A missing end leaves the period unbounded on that side. The backend does not guarantee that at least one end is set.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [from?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idaterangeparameterperiod/index.md#idaterangeparameterperiodfrom) |  | string | _(Optional)_ |
| [granularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idaterangeparameterperiod/index.md#idaterangeparameterperiodgranularity) |  | [DateRangeParameterGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.daterangeparametergranularity/index.md) |  |
| [to?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idaterangeparameterperiod/index.md#idaterangeparameterperiodto) |  | string | _(Optional)_ |

## Property details

### IDateRangeParameterPeriod.from

**Signature:**

```typescript
from?: string;
```

### IDateRangeParameterPeriod.granularity

**Signature:**

```typescript
granularity: DateRangeParameterGranularity;
```

### IDateRangeParameterPeriod.to

**Signature:**

```typescript
to?: string;
```
