Agni Purana (Jyotisha Selections) · by Vyasa
Chapter 1 · Muhurta: Marriage, Home, Farming
ज्योतिःशास्त्रम्
द्वितीयोच्चरिते वर्गे वैपरीत्यमिति स्थितिः ।तिथिर्द्विगुणिता कार्या षड्भागपरिवर्जिता ॥ १९ ॥
In the full Agni Purana this is chapter 122, verse 19.
In the second-named group the rule is reversed. Double the tithi (moon day). Take away a sixth of it.
Simple meaning: In the second group the rule is reversed. Then the moon day is doubled and a sixth taken off.
रविकर्मविपरीता तिथिनाडीसमायुता ।
Apply the Sun's correction in reverse and add the moon day ghatikas. If the minus is too big, see the next verse.
सषष्टिकं प्रदेयं तत्षष्ठ्याधिक्ये च तत्त्यजेत् ।
If the minus is too big, borrow sixty. Above sixty, drop sixty. The star is found from the moon day.
रविचन्द्रौ समौ कृत्वा योगो भवति निश्चलः ।
Adding the Sun and Moon gives the almanac's daily combination. The moon day, worked by seven, gives its half.