Hello - Here's a patch that adds a check for whether the month argument is valid in the new date-days-in-month function. It currently returns 30 for a month value of, say, 15. Thanks, Alex