What you are saying is exactly the wrong takeaway. Please read the article:

https://onlinelibrary.wiley.com/doi/10.1111/j.1751-1097.2008...

Beneficial UV is UVB, which is low when the sun is low because it can’t get through the ozone and atmosphere as well when the sun is at an angle. Instead, you are getting mostly UVA, which has an easier time passing through the skin (and atmosphere) and doesn’t stimulate vitamin D production.