Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
सप्तदशप्रवाहेण नवमासैर्गतायुषम् ।अष्टादशदिनान्यत्र कथितं साधकेश्वरि ॥ ६४ ॥
From the Shiva Purana, print Uma Samhita ch 25, verse 64.
With a flow of seventeen days, life may be nine months, with eighteen days here. So it is said, O lady of the adepts.
Simple meaning: The text gives a seventeen-day flow as about nine months of life.
Classical view, not medical advice.
वामचारं यदा देवि ह्यष्टादशदिनावधिः ।
The text gives an eighteen-day flow as about eight months of life.
चतुर्विंशद्दिनान्यत्र निश्चयेनावधारय ।
The text adds twenty-four days and begins the twenty-three day case.
चत्वारः कथिता मासाः षड्दिनानि तथोत्तरे ।
The text gives a twenty-three day flow as about four months, and twenty-four days as about three months.