# DateInputOptions

Canonical page: https://www.adaptabletools.com/docs/reference/dateinputoptions

Options for managing and customizing the date inputs.

```ts title="TypeScript"
export interface DateInputOptions 
```

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [dateFormat](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#dateformat) | `string` | Format string for formatting date input field | &#39;yyyy-MM-dd&#39; (ISO 8601 format) |
| [datepickerButtons](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#datepickerbuttons) | `DatepickerButton[]` | List of buttons which are displayed in the datepicker overlay in the given order (provide empty array to display no buttons); custom button layout and positioning is achievable with the special elements `-` and `\|` | [&#39;close&#39;,&#39;today&#39;] |
| [locale](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#locale) | `any` | Locale object (to localize Date Picker) | `en-US` |
| [showOutsideDays](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#showoutsidedays) | `boolean` | Display outside days (i.e. those falling in next or previous month) | true |
| [showWeekNumber](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#showweeknumber) | `boolean` | Display the week numbers column | false |
| [useNativeInput](https://www.adaptabletools.com/docs/reference/dateinputoptions.md#usenativeinput) | `boolean` | Use browser specific date input instead of AdapTable&#39;s Date Picker | false |

## Property Details

### dateFormat

Format string for formatting date input field

```ts title="TypeScript"
dateFormat?: string;
```

###### Default Value

&#39;yyyy-MM-dd&#39; (ISO 8601 format)

###### Property Value

`string`

### datepickerButtons

List of buttons which are displayed in the datepicker overlay in the given order (provide empty array to display no buttons); custom button layout and positioning is achievable with the special elements `-` and `|`

```ts title="TypeScript"
datepickerButtons?: DatepickerButton[];
```

###### Default Value

[&#39;close&#39;,&#39;today&#39;]

###### Property Value

`DatepickerButton[]`

### locale

Locale object (to localize Date Picker)

```ts title="TypeScript"
locale?: any;
```

###### Default Value

`en-US`

###### Property Value

`any`

### showOutsideDays

Display outside days (i.e. those falling in next or previous month)

```ts title="TypeScript"
showOutsideDays?: boolean;
```

###### Default Value

true

###### Property Value

`boolean`

### showWeekNumber

Display the week numbers column

```ts title="TypeScript"
showWeekNumber?: boolean;
```

###### Default Value

false

###### Property Value

`boolean`

### useNativeInput

Use browser specific date input instead of AdapTable&#39;s Date Picker

```ts title="TypeScript"
useNativeInput?: boolean;
```

###### Default Value

false

###### Property Value

`boolean`
