If we’re being pedantic, Harris already served as acting president for 1h25m on November 19, 2021 while Biden underwent a colonoscopy. If hypothetically Biden had died or resigned exactly 2 years into his term (January 20, 2023 12pm ET), and Harris assumed the presidency for the remaining two years, her total time would be over 2 years and she would be ineligible for a second term.