I eat lots of fatty fish (like salmon and TUna) which are the first sources of Vitamin D. I didn't notice anything after eating lots of food with vitamin D.
Nevertheless, the Sun effect is different and very powerful. So i think no food can replace the Sun or the tanning beds