No carbs after 4 pm?
Your body is using fuel 24/7 so what time you eat has no bearing on weightloss or gain, it does affect your blood sugars and is more of a concern for diabetics , which is a different subject.
The calories you eat and the amount that you burn are what affects weightloss.
Restricting carbs after 4 is just another way of reducing total calorie intake.
Eating high glycaemic foods prior to exercise can give you a boost if you are lacking in energy and timings can be crucial in athletes and those taking part in endurance sports.
But for the most, time is not a weightloss factor, calorie amount is