It is important to know that exercising too close to bedtime might have the opposite effect due to the acute effects of the increased alertness and the increases in core body temperature without being able to cool down before going to bed. So, it's generally, I think, recommended to engage in exercise earlier in the day, or just not right before bedtime.