# Tab datefields

There are two variants of the date fields that can be set.&#x20;

### Variant 1:&#x20;

If activated, a start date and an end date are set in the date field. The customer can then only select a date within the start date and end date Example:

Start date: 2023-10-06 12:00&#x20;

End date: 2023-10-26 12:00

### Variant 2:&#x20;

If activated, a start date and an end date are set for the date field, but based on the set days (start date in days and end date in days).&#x20;

The days are always added to the current date Current&#x20;

date: 10-08-2023&#x20;

Start date in days: 0&#x20;

End date in days: 10&#x20;

This means that based on the current date, +0 is set at the beginning and then +10 as the end date

You can also leave both variants disabled so that the customer can choose any date

<figure><img src="https://2061240942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2bDXNnc5DRWPvagpuhf1%2Fuploads%2FRxLSUQldfPoE9psOti3m%2Fimage.png?alt=media&#x26;token=b2cc3360-79f7-40c1-a8e6-a2ae8349b1ad" alt=""><figcaption></figcaption></figure>
