Max and Min onDate work

Max and Min onDate1 are calculated allowing for unset days and months