It sounds like you may be referring to John 19:14.
For a long time it was a mystery to me, but I never let it shake my faith.
Anyways, if you are referring to John 19:14:
Well, this is resolved by looking at the words of Jesus in Matthew 26 when He says,
"Behold, the hour is at hand, and the Son of man is betrayed into the hands of sinners."
(Matthew 26:45).
In other words, when the text says it was "about the sixth hour" when Pilate says to the Jews (with Jesus present), "Behold your King!", it is in reference from the time beginning point of time called "the hour is at hand" as said by Jesus that was in reference to the beginning time of when He would be betrayed into the hands of sinners. It was six hours from this point or hour that Jesus was talking about in Matthew 26:45. In other words, I can say, in about four hours from now I will be sound asleep. So from the hour of Matthew 26:45, six hours passed and Jesus was standing before the people with Pilate declaring "Behold your King!"
Scholars are just men and they are infallible; Trust in God and His Word and He will never let you down. Walk by faith and not by sight. Sometimes we do not have all the answers (even in God's Word). But if this is the case, ask the Lord and be patient; Sometimes it takes years to get an answer to a complicated passage. This happened to me two times. So be patient and wait upon the Lord.
...