Parashas Bo · Passuk 12:2
Chabad.org — English translation + Rashi
Torah Temimah points to Yerushalmi 2:8 (verified).
English: “He made the moon for appointed times; the sun knows its setting” — from the fact that the sun knows its setting, [we learn that] He made the moon for appointed times.
On the daf / in context: See the cited source for the full section.
Derash on the verse (midrash) — not a formal named middah of the 13.
The moon was appointed for the moadim; the calendar of festivals follows the lunar months.