"What do I do about my late-night eating?"
Late-night eating is a problem for many! It isn't just you.
Nighttime eating urges are caused by the emotion you are experiencing during that time. Sometimes its anxiety or stress, but pinpointing what you are feeling will help you solve for nighttime eating!
That emotion is caused by a thought. Perhaps you always dwell on the day's failings in the evening, making you feel anxious and so you end up eating. How can you change the thought that is causing anxiety to one that causes more neutrality? If you can work on your thoughts to create more neutral emotions, then you have just taken the biggest step toward eliminating nighttime eating.
What most people will tell you need to do is work on the actions you are taking; eat something else, go for a walk, take a bath, call a friend.....but you will still always have that negative emotion, and thus nighttime eating, if you don't solve for the thought causing the negative emotion.