There are apps, D Minder is one, that allow you to track your Vitamin D by your location, the angle of the sun, etc.
Older people may not absorb as much. And the darkness of your skin will impact that too.
All good, but unless you measure your blood level, you do not know and it is just a wish.
But I’m sure you know that.
I believe your doctor is correct.