From the creation of Adam in Genesis to AD 1, there are 4128 years. The period from AD 1 to the writing of the book of Revelation accounts for about another 100 years. So, there are about 4228 from Genesis to Revelation. More specifically:
From the Creation of Adam to the end of the flood…………………..1656 years
Thence to the covenant with Abraham……………………………………. 427 "
Thence to the Exodus and the giving of the Law…………………………. 430 "
Thence to the division of Canaan……………………………………………… 46 "
The period of the Judges……………………………………………………….. 450 "
The period of the Kings…………………………………………………………. 513 "
The period of the desolation…………………………………………………… 70 "
Thence to A.D. 1………………………………………………………………….. 536 "
Thence to A.D. 100………………………………………………………………….…..100 years
——
Total………………………………………………………………………………….4228 years