> For the complete documentation index, see [llms.txt](https://docs.xviz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xviz.com/project-management/other-features/daysoff/custom-date.md).

# Custom Date

The xViz Gantt Chart provides the Custom Date DaysOff option to mark the non-working days based on dates.

<figure><img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FVrXRxRNo7CUFLMChnCpZ%2Fcustom%20date.gif?alt=media&amp;token=c4a7fc9f-4571-4bea-8f74-bb783ae1662c" alt=""><figcaption><p><em>GIF 1: Custom Date DaysOff type in xViz Gantt Chart</em></p></figcaption></figure>

### Steps to use Custom Date DaysOff type in Gantt Chart:

1. Go to the Advanced Editor

<img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FhhgGFVpa50uiJ7zD5keH%2F5.png?alt=media" alt="Image 1: Advanced Editor option" width="62">

2. Navigate to the “DaysOff” section. Then click on the “Custom Date” option.

<img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2F1Hwy9HA6fpOzIJtSszj2%2F6.png?alt=media" alt="Image 2: DaysOff Option in the Advanced Editor" width="563">

3. Choose the Custom Dates for DaysOff and click on non-working custom dates to Display in the Gantt Chart.

<img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FIvPUlnALxfFHxpVprpvd%2F7.png?alt=media" alt="Image 3: Select Custom Dates" width="349">

4. Now Choose the Pattern and Color for the Custom Date.

<img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FAgqywu4pAn3hNt2a9sZI%2F8.png?alt=media" alt="Image 4: Choose the Pattern and Color for Custom Date" width="185">

The final result, the chart shows the shaded area for the applied Custom Date, is displayed in the image below:

![Image 5: Custom Date DaysOff type with xViz Gantt Chart](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FFxzW8uPHKewgGojy9iDN%2F9.png?alt=media)
