Basically, during the window before and after a workout is the best time to eat carbs and even a treat, if you are going to have one, because it will either be burned up in the workout or used to replace the glycogen you have lost during the workout.