Date Timestamp Functions Oracle PLSQL Tutorial

2   FROM dual;
MONTHS_BETWEEN('15-JAN-2005','25-MAY-2005')
-------------------------------------------
                                 -4.3225806
SQL>