Get your taxes done using TurboTax

The age is for 2 different things.  

 

To claim a dependent they have to be under 19 or under 24 and a full time student.

 

To get the Child Tax Credit they have to be under 17 on December 31. See pub 972 page 3 Qualifying Child  (it's for 2018)

https://www.irs.gov/pub/irs-pdf/p972.pdf