You can take vitamin d rich foods for breakfast or in dinner meals. You need to figure out what works for you and what foods. However, some foods are not recommended to eat at night.