Depending on what time of the year it is, temperature can have an effect on how far the ball will travel through the air. A lot of people assume that humidity has the most effect on how far the ball will travel through the air. However, it is actually temperature that has the greatest effect on ball flight, but it might not be as much as you think. Going from 40 to 100 degrees will increase a 6-iron carry by 8 yards and a driver by 9 yards.
The rule of thumb is that for about every 10 degrees you can expect a change of about a yard. The reason for this is that air becomes lighter as temperature increases, warmer air also rises more than cold. According to Golf Journal in September 2002, a professional golfers swinging around 120 mph can gain as much as 15 yards on a drive versus when it's 70.
Check out the video below for more information.