According to available scientific evidence, ultraviolet light can destroy various viruses, and ultraviolet light can indeed kill SARS-CoV-2.
The National Academy of Sciences, Engineering, and Medicine reports that ultraviolet rays may kill the coronavirus. The website reads: "Ultraviolet has been shown to destroy other coronaviruses, so it may work on the new coronavirus." This includes the deadly Middle East respiratory syndrome coronavirus, also known as MERS-CoV and severe acute respiratory syndrome Sign related coronavirus or SARS.
But there is a huge warning: "Ultraviolet rays can damage human skin, so it can only be used on objects or surfaces," NASEM continued.
This means you should not use UV light as a hand sanitizer. Insist on washing your hands with soap and water (follow the correct hand washing guidelines), or use alcohol-based hand sanitizer without soap and water.
The World Health Organization agrees with this and reports on its Coronavirus Mythbusters webpage that people should not use UV lamps to disinfect their hands or other skin areas because UV radiation "may irritate the skin and damage the eyes."