get month from date in postgresql code example
Example 1: postgresql get year
select extract(year from your_column) from your_table;
Example 2: postgres get month name from date
SELECT TO_CHAR(TIMESTAMP '2020-12-16 10:41:35', 'Month') AS "Month";