It really depends on how you put those lights there, if they are simple events on the map you will need to use Hudells variable Add-ons plugin.
set the hour to be saved to a variable and then use the variable conditions to make it turn it on and off depending on the time.
I hope you understand, you might need some experience on how variables function for this though.
And now something i need to ask.
If i wanted to make an event to tell me the time, as i have done now i use your variable plugin to export them to variables.
i can then use an even with the simple text
"The time is \v[3]:\v[2]"
but my problem is that a time 16:05 would be displayed 16:5... and it kinda looks strange.
So is there a workaround for this?
If not i can live with only displaying the hour.