Deductions & credits

Since the check was dated 2022 and the receiving organization noted it as a 2022 donation, you can enter it on your 2022 tax return.