Dear Grads users, I want to calculate monthly averages from daily data covering the period 01jan1961 to 31dec2000. Is there any clever way of using the ave()-function that would account for the varying lengths of the month (including the handling of leap years)? Thanks for any advice, Stefan