(a) Before midnight on New Year’s Eve? or (b) after midnight on New Year’s Day?
(a) Before midnight.
Tax deductions and credits are often allowed for a full year when an event happens sometime during the year. Thus a tax credit for a new born baby December 31, 2019 will be for the full year 2019.