3 months before postgresql code example Example: last 6 months postgresql CURRENT_DATE - INTERVAL '6 months'