Agni Purana (Jyotisha Selections) · by Vyasa
Chapter 1 · Muhurta: Marriage, Home, Farming
ज्योतिःशास्त्रम्
पञ्चधान्यतिलाज्याद्यैर्धेनुदानं द्विजे शमम् ।दशा सूर्यस्य चाष्टाब्दा इन्दोः पञ्चदशैव तु ॥ ७८ ॥
In the full Agni Purana this is chapter 121, verse 78.
Offer the five grains, sesame, ghee and the like, and give a cow to a Brahmin. This brings peace. The Sun's dasha (planet period) is eight years. The Moon's is fifteen.
Simple meaning: Offer grain, sesame and ghee, and give a cow to a Brahmin. The Sun's period is eight years, the Moon's fifteen.
अष्टौ वर्षाणि भौमस्य दश सप्त दशा बुधे ।
Mars has eight years, Mercury seventeen, Saturn ten, Jupiter nineteen, Rahu twelve and Venus twenty-one.
कालः समागणो वक्ष्ये गणितं कालबुद्धये ।
The sum starts here: multiply the years passed by twelve and add the months since Chaitra.
सप्तविंशतिशेषस्तु ध्रुवो नक्षत्रयोगयोः ।
The remainder by twenty-seven starts the star count. Each month adds one weekday and thirty-two time units.