# DateInput (@salmonui/calendars/calendar)

> The DateInput type of @salmonui/calendars/calendar: A date value: fields, a Date (an instant, read in the time zone) or an ISO 8601 string ('2026-11-23').

Canonical: https://salmonui.dev/docs/reference/calendars/calendar/DateInput

```ts
import type { DateInput } from '@salmonui/calendars/calendar';
```

Also exported from `@salmonui/calendars/date-picker`, `@salmonui/calendars/date-range-picker`, `@salmonui/calendars/time-picker`.

Entry index: https://salmonui.dev/docs/reference/calendars/calendar (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/calendars/calendar.md).

## Reference

Kind: type

```ts
type DateInput = PlainDateLike | Date | string;
```

A date value: fields, a `Date` (an instant, read in the time zone) or an ISO 8601 string (`'2026-11-23'`).
