I think it'll depend on what type of UV it is and how strong it is.
I've a ~ 30 watts UV-a light, covers 1m2 and I just run it for 12 hrs on in flower. No detrimental effect.
Now UV-b is another kettle of fish. Very powerful, will cause damage to plants. Timer definitely required.