Forum:Can spell/trap be set during End Phase?

I was wondering if player can set spell/trap during there end phase. Ex: The eff of Book Of Eclipse was activate during opponent turn which let him draw cards during the End Phase, and he has more than 6 cards, so het set some down. I can't find any ruling about this. Please help :D