Posts by Guedes • 116 points
1 post
-
0
votes1
answer976
viewsA: Postgresql - Add existing values for the current month
You can truncate a date in Postgres with the function date_trunc. In a simple way it allows you to ignore a part of the date/time and focus only on the part you want. An example of use: SELECT…