# GanttDateInput (@salmonui/gantt)

> The GanttDateInput type of @salmonui/gantt: A date value accepted by the task roles: Date, ISO string, epoch ms or a plain date-time ({ year, month, day, hour?, minute? }).

Canonical: https://salmonui.dev/docs/reference/gantt/GanttDateInput

```ts
import type { GanttDateInput } from '@salmonui/gantt';
```

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

## Reference

Kind: type

```ts
type GanttDateInput = Date | string | number | {
    readonly year: number;
    readonly month: number;
    readonly day: number;
    readonly hour?: number;
    readonly minute?: number;
};
```

A date value accepted by the task roles: `Date`, ISO string, epoch ms or a plain date-time (`{ year, month, day, hour?, minute? }`).
