calculates the temperature spread for a certain day