Cronometer does not calculate vitamin D produced from sunlight exposure. It would be hard to integrate such a feature, as the amount of vitamin produced by our bodies varies on many different factors (geographical location, skin type, cloud coverage, clothes).
Creating a custom food would be a great alternative! We recommend using an online calculator to get an estimate of how much vitamin D you are getting based on your location.