Study reveals when you eat determines weight gain.