How do I turn on lighting/lamps only during night?

Hello,
I'm experimenting with lamps on my custom-made buildings and they seem to be on all the time, but I want them on only during the night. Is there a way to do this? I thought about applying a trigger but I couldn't find one that makes them go on at a certain time (for example at 6 pm). I read somewhere else that they would automatically turn off during the day and then turn on when it's dark, but this is not the case for me.
Let me know if there is a way to do this or if I'm missing out on something obvious.

Thanks
 
Back
Top Bottom