Deductions & credits

You are correct that you can claim the credit if the care occurred when the child was still 12 years old even if they turned 13 later in the year.