How do we know when the books of the Bible were written?

This article has been translated into the following languages: