I have had a melanoma, and a bad one, and have been told to go in the sun before 9 am as I am low on Vitamind D which causes many other problems also!
Sort of a Catch 22 situation -damned if you do and damned if you don't!
Apart from that I would now not sit in the sun though do walk the dogs early in the morning in the sun