Hayanaratna · by Balabhadra
Chapter 1 · Planets, Signs, Year Entry
ग्रहराशिस्वरूपवर्षप्रवेशाद्यानयनाधिकारः
अथात्ररात्रिजन्मनीष्टकालयोगे विशेषउक्तस्ताजिकालंकारे ॥निशि जन्मभवेद्यदा तदा गतवारादिकमत्रसंयुतं ॥दिनमानयुतक्षपाघटीपलपूर्वैरिहवासरोगत इति ॥
Next, for a night birth, the Tajikalankara gives a special rule for adding the time. When the birth is at night, take the night's ghatika (24-minute unit), pala (24-second unit) and the rest. Add the day length to them. Add these to the weekday gone. Here the weekday counts as the one gone.
Simple meaning: Night birth: add the day length and the night time gone to the weekday that has passed.
यद्वारात्रिजन्मनि वर्षसंघोत्थघटीषुरात्रिगतघटिकायोज्यास्तत्र वर्षलग्नस्पष्टीकरणं सषट्कसूर्यात्कर्तव्यं यतो गतघटिकाः सूर्यास्ताद्याताइति अथवा वर्षसंघोत्थघट्याद्यभिष्टकालं प्रकल्प्य सजन्मलग्नं रविं प्रकल्प्य यल्लग्नं तद्वर्षप्रवेशलग्नं भवति ॥
Night birth, other ways: count the night time from sunset with the Sun plus six signs, or count the time from the birth lagna.
एवं सकलगणकसार्वभौमश्रीमद्रामदैवज्ञाप्तविधैर्मादृशैरनेके विशेषाः कर्तुं शक्यंते परंतु विस्तरभयादनुयोगः ॥
More refinements: possible, but left out because the book would grow too long.
अत्रेदंध्येयं ॥ यदिचैत्रादेरनंतरमपि मीनार्के जन्म तदा पूर्ववर्षशक एव जन्मशकः प्रकल्प्यः ॥ एवं जन्मार्कसमभानुश्चैत्रादेरूर्ध्वं मेषादेः प्राग्भवति तदा प्रागब्दशक एवाभीष्टशकः प्रकल्प्यः ॥ मेषादेरूर्ध्वं त्वग्रिमशक एव ज्ञेयः ॥
Which Shaka year: if the Sun is still in Pisces after Chaitra starts, use the year before.