# toPlainDate (@salmonui/scheduler)

> The toPlainDate function of @salmonui/scheduler: Normalizes a DateInput (an invalid input is null; never throws).

Canonical: https://salmonui.dev/docs/reference/scheduler/toPlainDate

```ts
import { toPlainDate } from '@salmonui/scheduler';
```

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

## Reference

Kind: function

```ts
function toPlainDate(input: unknown, timeZone?: string): PlainDate | null;
```

Normalizes a `DateInput` (an invalid input is null; never throws).
