Please be aware that not everyone has the same benefit of vitamin D production from sun exposure, that as one ages, the benefit is diminished, and vitamin D supplements are essential beginning in childhood as sun exposure is never consistent. Vitamin D levels must be checked on a regular basis for this reason. Bone integrity is indeed affected beginning in infancy, but so much more is at risk, especially the immune system as every organ in the body have vitamin D receptors, including the pancreas, brain, neuromuscular system and testicles and ovaries (infertility may be affected as these organs have the highest concentration of vitamin D receptors).
Midday, especially during summer, is the best time to get sunlight. At noon, the sun is at its highest point, and its UVB rays are most intense. That means you need less time in the sun to make sufficient vitamin D
Dear Thiago Soethe Ramos . The time between 10:00 am and 3:00 pm produces vitamin D in the skin that may last twice as long in the blood compared with ingested vitamin D. See the link: https://www.medscape.com/answers/128762-54304/what-is-the-recommended-sun-exposure-for-production-of-vitamin-d#:~:text=Sensible%20sun%20exposure%2C%20especially%20between,compared%20with%20ingested%20vitamin%20D.