I'm trying to get the ticket data only from the current month on a PostgreSql 9.2 database.
The field called data_cadastro
is DATETIME
:
id_ticket | data_cadastro
-----------+---------------------
2521 | 2017-10-31 08:11:48
how should I do ?