# toZonedDateTime (@salmonui/scheduler)

> The toZonedDateTime function of @salmonui/scheduler: Wall time of instant in zone as a PlainDateTime; null for an unknown zone or invalid instant.

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

```ts
import { toZonedDateTime } 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 toZonedDateTime(instant: InstantInput, zone: string): PlainDateTime | null;
```

Wall time of `instant` in `zone` as a `PlainDateTime`; null for an unknown zone or invalid instant.
