F_LASTDAY
<< F_DAYSOFMONTH | IBExpert UDF Functions | F_FIRSTDAYQUARTER >>
F_LASTDAY
- function from adhoc input/output-compatibility to rFunc (DAYPERMONTH)
- Compatible with UTF-8
- Input INTEGER year INTEGER month
- Output INTEGER last day in the month of a year
Counting starts with 1 (nearly) identcall to F_DAYSOFMONTH, only swapped parameters
Example
SELECT 29 AS ISCORRECT, F_LASTDAY(2016, 2) FROM RDB$DATABASE;
Expected results:
ISCORRECT F_LASTDAY ============ ============ 29 29
back to top of page
<< F_DAYSOFMONTH | IBExpert UDF Functions | F_FIRSTDAYQUARTER >>