(this is from google)
"Although Red Eyed Tree Frogs are nocturnal they still need a day/ night cycle in order to feel happy. We recommend a 5% UVB light and most terrariums have their own lighting canopies available to hold the light in. The light should be on for 10-12 hours per day."