From
http://www.gotquestions.org/Bible-authors.html "Few of the books of the Bible specifically name their author. Here are the books of the Bible along with the name of who is most assumed by Biblical scholars to be the author, along with the approximate date of authorship:
Genesis, Exodus, Leviticus, Numbers, Deuteronomy = Moses - 1400 B.C.
Joshua = Joshua - 1350 B.C.
Judges, Ruth, 1 Samuel, 2 Samuel = Samuel / Nathan / Gad - 1000 - 900 B.C.
1 Kings, 2 Kings = Jeremiah - 600 B.C.
1 Chronicles, 2 Chronicles, Ezra, Nehemiah = Ezra - 450 B.C.
Esther = Mordecai - 400 B.C.
Job = Moses - 1400 B.C.
Psalms = several different authors, mostly David - 1000 - 400 B.C.
Proverbs, Ecclesiastes, Song of Solomon = Solomon - 900 B.C.
Isaiah = Isaiah - 700 B.C.
Jeremiah, Lamentations = Jeremiah - 600 B.C.
Ezekiel = Ezekiel - 550 B.C.
Daniel = Daniel - 550 B.C.
Hosea = Hosea - 750 B.C.
Joel = Joel - 850 B.C.
Amos = Amos - 750 B.C.
Obadiah = Obadiah - 600 B.C.
Jonah = Jonah - 700 B.C.
Micah = Micah - 700 B.C.
Nahum = Nahum - 650 B.C.
Habakkuk = Habakkuk - 600 B.C.
Zephaniah = Zephaniah - 650 B.C.
Haggai = Haggai - 520 B.C.
Zechariah = Zechariah - 500 B.C.
Malachi = Malachi - 430 B.C.
Matthew = Matthew - A.D. 55
Mark = John Mark - A.D. 50
Luke = Luke - A.D. 60
John = John - A.D. 90
Acts = Luke - A.D. 65
Romans, 1 Corinthians, 2 Corinthians, Galatians, Ephesians, Philippians, Colossians, 1 Thessalonians, 2 Thessalonians, 1 Timothy, 2 Timothy, Titus, Philemon = Paul - A.D. 50-70
Hebrews = unknown, best guesses are Paul, Luke, Barnabas, or Apollos - 65 A.D.
James = James - A.D. 45
1 Peter, 2 Peter = Peter - A.D. 60
1 John, 2 John, 3 John = John - A.D. 90
Jude = Jude - A.D. 60
Revelation = John - A.D. 90"
As a note, in the New Testament, John is the Apostle John, Peter the Apostle Peter, James was the half-brother of Jesus, Jude was another half-brother Of Jesus. The length of time needed to write each book would differ.