Daniel the prophet had a vision of God as the Ancient of Days (Daniel 7:9-10, 22). Ancient of Days describes the one and only eternal God. He was before the days that He created in the beginning. He is from everlasting to everlasting.
Daniel describes the Ancient of Days in apocalyptic symbolism. He sees God like a man of great age. His hair appears white as wool. His robe is white, because God is righteous and holy. His throne is like a flame of fire, which symbolizes His judgment.
The Son of God is seen in the same imagery as Father God, in what we call the second coming of Christ (Daniel 7:22). This same imagery is seen in the book of Revelation (1:12-14).
The prophet Daniel and the apostle John speak of the same end time events. God in Christ is coming in great glory to establish the everlasting kingdom with His saints (Daniel 7:13-14).
In the book of Revelation, John sees the saints of God clothed in white garments (Revelation 3:18). The Ancient of Days, clothed in a white robe, likewise clothes every believer in white, which is the righteousness of God in Christ. How can that be? "For He made Him who knew no sin to be sin for us, that we might become the righteousness of God in Him" (2 Corinthians 5:21).