I've found giving myself a cut off time keeps me from eating late at night. Basically, I don't eat anything after 7 or 8 pm. If I feel hungry ill just grab some ice water or drink that to tide me over. I also start eating later in the day between 11 and noon. So giving myself only 8 hours to eat makes it really hard to pile on calories unless I go out of my way to eat multiple high calorie meals.