Skip to main content
Temporal.ZonedDateTime.prototype.until - Temporal - Web documentation
method Temporal.ZonedDateTime.prototype.until
ZonedDateTime.prototype.until(
options?: Temporal.DifferenceOptions<
"year"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>
,
): Temporal.Duration

Parameters

optional
options: Temporal.DifferenceOptions<
"year"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>

Return Type