The President of the United States may veto, i.e. return a bill passed by the Congress within 10 days (excluding Sundays) after it was presented to him. The term of the Congress begins and ends on January 3rd and lasts 2 years. For example, the term of the current 117th Congress began on January 3, 2021 and will end on January 3, 2023.
If the Congress passed a bill (e.g. on December 30, 2022) and the President vetoed the bill after the end of the Congress' term (e.g. on January 4, 2023), would that effectively kill the bill, making the veto absolute and impossible to override (like the pocket veto)? Or could the new Congress still attempt to override the veto, even if the bill was passed by the previous Congress?
Would there be any difference if the President vetoed the bill before the end of the Congress' term, but the Congress did not manage to meet and vote on veto override before the end of its term?