postgres ottenere il nome del mese a partire dalla data
SELECT TO_CHAR(TIMESTAMP '2020-12-16 10:41:35', 'Month') AS "Month";
postgres estratto giorno dalla data di
SELECT EXTRACT(DAY FROM TIMESTAMP '2016-12-31 13:30:15');Code language: PostgreSQL SQL dialect and PL/pgSQL (pgsql)