Carl
Level 15

Get your taxes done using TurboTax

If he spent more than 15 nights of a month with you, then you get credit for the whole month. See the tool at https://www.irs.gov/uac/who-can-i-claim-as-a-dependent