# fromZonedDateTime (@salmonui/scheduler)

> The fromZonedDateTime function of @salmonui/scheduler: The instant (Date) of wall time wallTime in zone; DST gaps move forward and overlaps take the earlier instant (Temporal 'compatible'). An invalid input gives an invalid Date.

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

```ts
import { fromZonedDateTime } 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 fromZonedDateTime(wallTime: DateTimeInput, zone: string): Date;
```

The instant (`Date`) of wall time `wallTime` in `zone`; DST gaps move forward and overlaps take the earlier instant (Temporal `'compatible'`). An invalid input gives an invalid `Date`.
