It was less than 2 months. Franken wasn’t sworn in until July and Kennedy died in August.
EDIT: it’s actually somewhere in the middle. Kennedy’s seat was held by Kirk, a Democratic appointee, from September through February 2010. However, I am fairly certain that Kennedy was basically unable to serve from March until his death in August.
Democrats basically had late September through early February to get anything done without a filibuster.