If your goal is "hang out in the sun but don't get burned", then morning/evening is better. If your goal is "get exactly as much vitamin D as I need while minimizing UV damage, perhaps using a timer", then it sounds like technically mid-day is better (assuming I'm reading the parent right).