meta data for this page
  •  

F_LASTDAYLASTMONTH

input/output-compatibility to rFunc (LASTDAYMONTH)

Entrypoint lastdaylastmonth compatible with UTF-8


Inputs/Outputs

   Input      TIMESTAMP     date optionally time
   Output     TIMESTAMP     date of last day of last month as date with time 00:00:00

Syntax

   TestSQL
   SELECT '30.04.2009' AS ISCORRECT, F_LASTDAYLASTMONTH('08.05.2009 15:00:00') FROM RDB$DATABASE;
   SELECT '31.12.2008' AS ISCORRECT, F_LASTDAYLASTMONTH('03.01.2009 15:00:00') FROM RDB$DATABASE;