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

# IAbsoluteDateFilterBody

- 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.64/libs/sdk-model/src/execution/filter/index.ts

Object defining the [IAbsoluteDateFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilter/index.md) object body.

**Signature:**

```typescript
export interface IAbsoluteDateFilterBody extends IIdentifiableFilter 
```
**Extends:** [IIdentifiableFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iidentifiablefilter/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dataSet](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilterbody/index.md#iabsolutedatefilterbodydataset) |  | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | Date data set for filtering |
| [emptyValueHandling?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilterbody/index.md#iabsolutedatefilterbodyemptyvaluehandling) |  | [EmptyValues](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.emptyvalues/index.md) | _(Optional)_ How to treat empty date values. |
| [from](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilterbody/index.md#iabsolutedatefilterbodyfrom) |  | string | Start date (including): this is in format 'YYYY-MM-DD' |
| [granularity?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilterbody/index.md#iabsolutedatefilterbodygranularity) |  | [DateAttributeGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dateattributegranularity/index.md) | _(Optional)_ Granularity of the selected periods. When not set, the range is a plain range of days. 'from' and 'to' stay day-level even when this is set: they are the first day of the first selected period and the last day of the last selected period. |
| [to](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iabsolutedatefilterbody/index.md#iabsolutedatefilterbodyto) |  | string | End date (including): this is in format 'YYYY-MM-DD' |

## Property details

### IAbsoluteDateFilterBody.dataSet

Date data set for filtering

**Signature:**

```typescript
dataSet: ObjRef;
```

### IAbsoluteDateFilterBody.emptyValueHandling

How to treat empty date values.

**Signature:**

```typescript
emptyValueHandling?: EmptyValues;
```

### IAbsoluteDateFilterBody.from

Start date (including): this is in format 'YYYY-MM-DD'

**Signature:**

```typescript
from: string;
```

### IAbsoluteDateFilterBody.granularity

Granularity of the selected periods. When not set, the range is a plain range of days.

'from' and 'to' stay day-level even when this is set: they are the first day of the first selected period and the last day of the last selected period.

**Signature:**

```typescript
granularity?: DateAttributeGranularity;
```

#### Remarks

On the Tiger backend, `GDC.time.month`, `GDC.time.quarter` and `GDC.time.year` select whole periods when 'from' and 'to' are days in the 'YYYY-MM-DD' format covering whole periods; any other range, and every other granularity, selects the days of the range as given.

### IAbsoluteDateFilterBody.to

End date (including): this is in format 'YYYY-MM-DD'

**Signature:**

```typescript
to: string;
```
