--- id: round title: round --- # Function: round() ```ts function round(input, options): Date; ``` Defined in: [date/round/round.ts:16](https://github.com/TanStack/time/blob/main/packages/time/src/date/round/round.ts#L16) ## Parameters ### input [`DateInput`](../type-aliases/DateInput.md) ### options [`RoundOptions`](../interfaces/RoundOptions.md) ## Returns `Date`