We all know the mishna in Se'udot:
It once happened that Rabban Zmanliochel's sons were on their way to a Shabbat lunch. They said to him "We have not received instructions on when to come." He said to them, "If your hosts have not yet prayed," then you shouldn't go. "If they have, then you are obligated to arrive before Chatzot."
That's all well and good if you live in a town with one shul that everyone goes to, but what if there are many shuls, and many minyanim, and you don't know which one[s] your hosts went to? How do you figure out what time to arrive for the meal?