> The skin can produce only a limited amount of vitamin D at one time. Once the body has reached this limit, spending more time in the sun will not continue to increase vitamin D levels. However, continued time in the sun will increase your skin cancer risk. There is no known level of UV exposure that would increase vitamin D levels without also increasing skin cancer risk. Vitamin D can be obtained safely through food and dietary supplements without the risks associated with overexposure to UV.
Same thing with the EPA[2]:
> Get Vitamin D safely through a diet that includes vitamin supplements and foods fortified with Vitamin D. Don't seek the sun.