Vidhi
Mahā Śivarātri is decided at nishītha — the eighth of the night’s fifteen muhūrtas, measured from sunset to the next sunrise. Whichever day carries Caturdaśī through nishītha carries the night.
These guides are computed for your own city, which needs JavaScript. The dates and windows themselves come from the same engine as the rest of the site.