Temporal.ZonedDateTime.prototype.round - Web documentation
method Temporal.ZonedDateTime.prototype.round
ZonedDateTime.prototype.round(roundTo: RoundTo<
"day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>
): Temporal.ZonedDateTime

Parameters

roundTo: RoundTo<
"day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>

Return Type