People living nearer to the equator naturally are exposed to more sunlight. In the Northern Hemisphere, a person’s requirement of sunlight might not be met in the winters.
In summers, a person need not be out in the sun for long to get enough vitamin D. The sun is the fiercest between 11 am to 3 pm.