Chabad.org — English translation + Rashi
Torah Temimah cites Yerushalmi Rosh Hashanah 1:1: “בשנה השנית לצאתם” teaches that Israel counted years from the Exodus until the Temple was built.
English: “In the second year of their going out from the land of Egypt” — this informs that they counted the years from the Exodus.
Category B — Textual / lexical / linguistic method.
Method: The Torah’s dating formula identifies the Exodus as the reference point for counting the years. The cited Yerushalmi reads the phrase as establishing the era from which the years are reckoned.
Textual trigger: “בַּשָּׁנָה הַשֵּׁנִית לְצֵאתָם מֵאֶרֶץ מִצְרַיִם” (Bamidbar 9:1), expounded as “מוֹנִים הַשָּׁנִים לִיצִיאַת מִצְרַיִם.”
The Exodus remained the reference point for national chronology until the Temple era shifted the calendar of record.