Recording bank deposits in QuickBooks Online (QBO) depends on how you deposited your checks. Each bank deposit creates a separate record. Based on your scenario, you'll only have to record the deposit date. With this, we're unable to split the transaction date according to the dates written on those checks. This way, it will match your real-life bank deposit.
I suggest entering those dates in the Description column on the Bank Deposit page. Doing this will let you see the exact period that's written on the actual checks.
Click the New icon at the left panel.
Select Bank Deposit.
Go to Add funds to this deposit.
From Received From section, choose appropriate customer or vendor where the checks coming from.
Choose account in the Account column.
From the Description column, enter the date of the check.
Select Check in the Payment method drop down list.
Fill in other necessary fields.
Hit the Save and close button.
For additional information on how to record multiple transactions into a single record so QuickBooks matches your real-life bank deposits, you can refer to this article: Record and make Bank Deposits in QuickBooks Online. This also contains details on how to review and remove a payment from a bank deposit.