You will find some tents with a good light-blocking ability. They can block almost 99% of sunlight. It will seem to you as if you are staying in a dark environment. On the other hand, most of the tent has the ability to block about 90% of the light which is good enough for sleeping comfortably.