There are some clues given in Revelations 11 to the time of the two witnesses.
John measures the temple with those that worship in it (who will die), but leaves out the court for the Gentiles (Romans) who will tread under foot the holy city for forty two months.
We are not given the names of the two witnesses, but they are referred to in Zechariah 4:14 "These are the two anointed ones, that stand by the Lord of the whole earth."
The signs of Moses are given to the witnesses, so even at that late stage God gives the Jews the opportunity to repent and believe.
God is sentencing Jerusalem to death, and the law of Moses says; "At the mouth of two witnesses, or three witnesses, shall he that is worthy of death be put to death;" (Deuteronomy 17:6).
We are also told that the place of the two witnesses in V.8 is Jerusalem, and Jerusalem is spiritually called Sodom and Egypt.
Other signs are Zechariah being told that Zerubbabel will finish the house of the lord, and will hold a plummet which is a reference
to judgement through the hearing of the word.
Or Joshua standing before the stone with 7 eyes and will remove the iniquity of the land in one day.
Same with John who is told that he must Thou must prophesy again before many peoples, and nations, and tongues, and kings.
All of these and more point to the time of the Two Witnesses and the thing they have in common is that they're a remnant which God had set aside.Zerubbabel himself wont be doing those things,God was speaking symbolically of his remnant fulfilling that prophecy.Same with Joshua and John.
In Colossians 1 we are bring told who his Two Witnesses are.Water and blood.Or his word,the OT & NT.
By him all things consist and he brings us unto himself through the blood of his cross.In Zechariah God says "not by might,nor by power,but by my spirit."
Spirit,water,blood.
The spirit testifies of the Two Witnesses.All things consist through spirit,water,blood and by that,they testify of their creator.They glorify him.
The 2 men in revelation 11 is symbolic for not only the word of God,but also man and woman.We were created in the image of the Living Word.
The word became flesh.The word is in our dna,and we became flesh.
The 144,000/two witnesses are both men and women.