$ 0 0 If you want to extract year from the date - 32 days then this is the query SELECT EXTRACT(YEAR FROM (CURRENT_DATE - INTERVAL '32' DAY))