Load of old tosh. It's the overall amount you eat, not when you eat, that counts.
One aspect of weight management that is vital to understand is that we gain and lose weight over periods of time � weeks, months, years � not hour by hour. We would need to take in substantially more calories than we expend, over time, to gain weight.
Another important fact of metabolism is that our bodies do not stop working, even when we are sleeping! Hearts are beating, blood is circulating, lungs are functioning, brains are even working. This all takes energy � meaning we are still burning calories.
There is no magic time after which the body stores fat. For instance, if you eat the same exact meal at 6 PM or at 8 PM, is one more caloric than the other? No, each meal has the same number of calories. What really matters is the total amount of food and drink you have over the course of a week, or a month or longer, and how much energy you expend during that timeframe. Excess calories will be stored as fat over time, regardless of whether they are taken in during the day or night.