The New Testament records the three-hour darkness....
Interestingly while Marks reads that a three-hour darkness occurred upon Jesus' death at noon (6th-9th hour) and Matt and Luke follow their source Mark, John 19:14 says Jesus was still being tried by Pilate at noon. John also drops the whole 3 hours of darkness element. Once again, the writers were delivering a theological story (mostly drawn from the OT and related works) not history.
The writer of Mark got the idea from Amos 8:9,10
And in that day, declares the Lord GOD, I will make the sun go down at noon, and I will darken the earth in the daytime. I will turn your feasts (Passover) into mourning and all your songs into lamentation. I will cause everyone to wear sackcloth and every head to be shaved. I will make it like a time of mourning for an only son, and its outcome like a bitter day.
The 3 hour element is likely a parallel to the 3 day (the Sun/Light of God dead) motif.