Vidhi
Gaṇeśa Caturthī is decided in madhyāhna — the third fifth of the day, measured from sunrise to sunset rather than from the clock. Whichever day carries Caturthī through madhyāhna carries the festival.
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.