Way too many TOS books set during the five year mission - they must have been having a major event every day or so...
Honestly, that doesn't bother me. It's like wondering where the Hardy Boys or Nancy Drew found time to investigate all those mysteries. Long-running series tend to defy realistic time constraints!
And plenty of the books begin with "We just finished a three week period studying this rare nebula."