Then Herod summoned the magi in secret and worked out from them the exact time the star had appeared.
In context
5They told him, “In Bethlehem of Judea, for this is what was written through the prophet: 6‘And you, Bethlehem, in the land of Judah, are by no means the least among the rulers of Judah, for out of you will come a leader who will shepherd my people Israel.’” 7Then Herod summoned the magi in secret and worked out from them the exact time the star had appeared. 8He sent them on to Bethlehem with these words: “Go and search carefully for the child, and when you find him report back to me, so that I too may go and kneel before him.” 9After hearing the king they set out; and the star they had seen when it rose went ahead of them until it came to a standstill above the place where the child was.