Time represents change. If there was no change (entropy) time would not exist. When the universe was a singularity, its entropy was at infinity for its size. Time did not exist. It would be impossible to say how long the universe existed in that state. Once the Big Bang or expansion took place time began.
"On Earth as it is in Heaven, the Cosmic Roots of the Bible" available on the Amazon.