Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 11 · Tithi, Nakshatra and Weekday Yogas; Good and Bad Times
तिथिनक्षत्रवारयोगाः शुभाशुभकालश्च
अर्धरात्रे विशेषेण पुष्पैर्नानाविधैरपि ।दिवा तिथेरलाभे तु न कुर्याद्विधिवद्व्रतम् ॥ ३४ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 8, verse 34.
At midnight especially, with flowers of many kinds. If the tithi (moon day) is not found by day, one should not keep the vow by rule.
Simple meaning: Worship with many flowers, mostly at midnight. If the day is not found in daytime, skip the vow.
रात्रिस्पर्शे यदि परं रजन्यामपि चाष्टमी ।
When the eighth day touches only the night, check how long the seventh lasts and whether Rohini is there.
द्वादश द्वादशीर्हन्ति तस्मात्तथाचरेद्बुधः ।
A wrong choice of day loses the merit of twelve Dvadashis. A wise person checks the rule.
न वर्धते द्वादशी तु तदा त्वेवं व्यवस्थितिः ।
If Dvadashi does not grow, a forest-dweller keeps the later Ekadashi. A householder keeps the earlier one.