The timing you eat your carbs doesn't matter. You want to prioritize them at breakfast, pre workout and post workout as they will be most inclined to refill glycogen levels at those time periods but eating carbohydrates after a certain time won't make you fat. THat's bro-science.
Set up your diet like this.
- Multiply your body weight by 1.5 to get your protein intake.
- Multiply your body weight by 0.5 to get your fat intake
- Fill the remaining calories with carbohydrates. Eat as many as you can to still loose weight. This will be very individual and depend on how much cardio you are doing, your life style, age etc.
For a 200 pound person, that would be 300g protein, 100g fat and somewhere between 100-400g carbohydrates. 200g carbohydrate would be a good starting number to loose body fat for most people.