Scientists in the United States studied 30 adults who were overweight.
They gave all the people the same food and the same number of calories.
But one group finished dinner at the usual time, and the other group ate after 10 p.m.