Accounts for different days in a month & year