A window of two years
The impact factor counts citations in one year to articles from the previous two. The book says two years was a compromise between rewarding fast-changing fields and measuring lasting influence.
From Érdi, 2020, p. 171. Érdi, P. (2020). Ranking: the unwritten rules of the social game we all play. New York: Oxford University Press. ISBN 978-0-19-093546-7. DOI 10.1093/oso/9780190935467.001.0001. (The copy's copyright line reads 2020; Crossref gives 1 October 2019 for the print date.)