If tm is 0 then match only if we have to
If tm is 0 then match only if we have to

if tm is 0 and div != 0, only match if the length of interval modulo
div is 0.

Also while at it, make sure the days in month is properly calculated
based on current month and year.

Xe/scron