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

Parameters

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

Return Type