On your evolution comment, most Australians don't have dark skin, but the ones who were here before Europeans do. I think that is a good indicator that the body is adjusting to something harmful. On the other hand, many dark skinned people in Britain aren't in a climate they evolved for either. We all have to be mindful that people move around the world faster than evolution now and may need to adjust our habits.
This paper [1] has the recommended exposure time for a few cities in Australia. If you live in the same latitude, as long you live in the same latitude, this can be used as a guideline.
https://staging.mja.com.au/system/files/issues/194_07_040411...
I couldn't believe it the first time I went to Singapore, in 35C heat all day in the sun at a theme park, and didn't even get a minor blush on my pale skin due to the humidity and latitude. Definitely eye opening coming from NSW, Australia.
From the table there, for example, in Townsville in summer, with 11% of your body exposed, it takes just 6 minutes to synthesis 1000 IU of vitamin D.
A fair-skinned female friend who studied at James Cook University used to complain she got sunburnt walking between classes... So DWG, if you read this, apologies for telling you off for exaggerating!
Vitamin D is produced on UVB spectrum [1 Fig. 1] that decreases with the solar azimuth degree [2].
[1] https://www.direct-ms.org/wp-content/uploads/2018/01/Vit-D-s...
[2] https://www.researchgate.net/publication/285056396_Vitamin_D...
Moderate exposure is healthy, and may decrease the risk of many other cancers and heart disease.
https://www.medicalnewstoday.com/articles/260247#3
https://www.telegraph.co.uk/news/2018/03/07/dose-sunshine-ex...
https://www.marksdailyapple.com/why-some-sun-exposure-will-p...
Another way to look at it is that we evolved with the sun over millions of years, and that wouldn't have happened if it were too bad for us...