meta data for this page
  •  

F_DAYSOFMONTH

function from adhoc

input/output-compatibility to rFunc (DAYPERMONTH)

Entrypoint daysofmonth compatible with UTF-8


Inputs/Outputs

   Input     INTEGER     month
             INTEGER     year
   Output    INTEGER     amount of days (last day) in the month of the year

Syntax

   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;