Here’s the American association of dermatology recommendation. They say don’t try to get your vitamin D from the sun. https://www.aad.org/media/stats-vitamin-d