It depends on when I run out of calories, which can be anywhere from 7pm-bedtime. I try to keep about 200 calories left for a 9 or 10pm snack, though. Meal timing won't affect your weight loss. If eating late at night doesn't cause you sleeping problems or heartburn and you have enough calories left in the day, a late night snack won't hurt your goals.
My cutoff is when I run out of calories. I'll often eat right up until bedtime, right before brushing my teeth. Caloric intake timing is a personal preference and will not affect your weight loss. Hitting your calorie goals each day/week/month is what will affect your weight.