# Date

Use the date variable in reports with date dimensions to select a single date.

### 1. Configuration <a href="#id-1.-configuration" id="id-1.-configuration"></a>

This section outlines configurations specific to date variables.

**1.1. Value:** Assign a default value for the date variable.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/fOoZbwiEvssS80l08iiS/image.png" alt=""><figcaption><p>Date variable creation</p></figcaption></figure>

### 2. Examples <a href="#id-2.-examples" id="id-2.-examples"></a>

**2.1. Set a date in the header**

**STEP 1:** Create a date variable with the configuration shown below.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2Fb4LMPOvuILFVbOS2QT8a%2Fimage.png?alt=media&#x26;token=cc96c531-704d-49ca-a06f-0f8f9d65983f" alt=""><figcaption><p>Create a date variable</p></figcaption></figure>

**STEP 2:** Insert the variable in the header by navigating to the Header\&Footer ribbon > Insert > Variables.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F7ES1uBIaoPdyzBPUEHaD%2Fimage.png?alt=media&#x26;token=d0ce3d00-c53a-4e11-880f-4d5b177ec005" alt=""><figcaption><p>Insert the date variable in the header</p></figcaption></figure>

**STEP 3:** Users can instantly set a date in the report header by just selecting it from the variable. The header does not have to be edited each time.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FiGhhxsb5v7ByQXHQvYMt%2FUntitled%20Project.gif?alt=media&#x26;token=f13ffe2d-f17a-4083-9598-0b3859f35c13" alt=""><figcaption><p>Set the date in the header with variables</p></figcaption></figure>
