Skip to main content
Temporal.PlainDateTime.prototype.since - Temporal - Web documentation
method Temporal.PlainDateTime.prototype.since
PlainDateTime.prototype.since(
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