Entrypoint daysofmonth compatible with UTF-8
Input INTEGER month INTEGER year Output INTEGER amount of days (last day) in the month of the year
Counting starts with 1 TestSQL SELECT 29 AS ISCORRECT, F_DAYSOFMONTH(2, 2004) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_DAYSOFMONTH(NULL, NULL) FROM RDB$DATABASE;