Calculate difference between dates - Postgres

Viewed 11343

I have a requirement to calculate the number of days from 3 different dates. I need to run the logic to get an integer value from below pseudo logic.

(future_date_1 - future_date_2) - Today()

How to achieve this in PostgreSQL?

1 Answers
Related