Deductions & credits

Thank you very much for your answer. Now it makes more sense to me. When I claim EV tax credit in 2023 return, I should put the date of making deposit or the date of receiving a car? and how IRS will know that I claim this tax credit for old law?