Utraviolet light can kill bacteria and is used to do so. Anybody who says it doesn't needs to go back to school I think. But don't believe ne- just Google "UV light + killing bacteria" and you can read til your hair turns gray.
As I stated above, and as you will see if you Google, killing bacterial has to do with a combination of the exposure time to direct UV light and the intensity of that light. basically death can be caused by short intense exposure or longer expossure at lower levels. Killing algae take less inensity and time than killing bacteria.
Ultraviolet light kills microorganisms by damaging the DNA. UV radiation disrupts the chemical bonds that hold the atoms of DNA together in the microorganism. If the damage is severe enough, the bacteria cannot repair the damage and will die. Longer exposure to UV light is necessary to ensure complete kill-off of all microorganisms. Unlike chemical treatments, UV-treated air or water does not resist re-contamination.