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

# DatePeriodLiteral

- 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/base/dateGranularities.ts

One period of a [DatePeriodGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dateperiodgranularity/index.md), in the format of that granularity.

**Signature:**

```typescript
export type DatePeriodLiteral = string;
```

## Remarks

- week: 'YYYY-WW', where 'WW' is the zero-padded ISO-8601 week number, for example '2026-05' - month: 'YYYY-MM', for example '2026-03' - quarter: 'YYYY-Q', for example '2026-1' - year: 'YYYY', for example '2026'

A week literal uses the ISO-8601 week number and the ISO-8601 week-numbering year. Week 53 is valid only in the years that have it. The days of the week depend on the week start: with a Monday start it is the ISO-8601 week from Monday to Sunday, with a Sunday start the same week shifted one day earlier, from Sunday to Saturday.
