Question: how to calculate months between two dates in postgresql?
Answer: Use the AGE function to calculate the difference between the end date and start date. ...  EXTRACT the number of years from the interval. ...  Multiply the number of years by 12 to get the number of months counted by those years (seems obvious, but I am outlining all the steps in excruciating detail)