In oracle i can find out no:of months between using MONTHS_BETWEEN function.
In postgres i am using extract function for this. eg.like
select ex
SELECT date_part ('year', f) * 12 + date_part ('month', f) FROM age (CURRENT_DATE, '2014-12-01') f