Eating foods at night is dependent on the timing of when it was consumed. Calories are not "just calories no matter what time you consume them."