I agree, it doesn't matter what time you eat because your body will metabolize it the same way.
The problem seems to be something else, though. When we eat at night, we probably aren't reaching for the carrot sticks but reach for higher calorie snack foods. Since you've probably used up your calories by 7pm or so, anything extra would be excess calories.
But if you are eating dinner and it's within your calorie range, or if you saved calories for a snack then you should be fine