In any case, never skip your dinner. This is because when people skip dinner, they rely more on snacks, which leads to overeating. If you are planning to work out after office hours, have a snack at 4 pm.
The snack could be a string of cheese with an apple, two dried dates with 1-2 tablespoons of peanut butter or some fibre crackers with 2 tablespoons of hummus.
One should also eat some nuts right after a workout to replenish muscles. .
If you plan to work out after dinner, divide your meal into two parts. Eat one portion before the sweat session and the second portion after the workout. Save the carb-rich portion for prior workout.