I'm neither a doctor nor a scientist, but I believe it's the sun's UV rays that kill viruses, not Vitamin D. Vitamin D is another benefit to exposure to sunlight, and 10-30 minutes of exposure is sufficient for adequate levels of D, from what I read.