To cut a date in PostgreSql?
In the sql query using SELECT date_trunc('day', table.created) AS day .... next, the request.
as a result I receive date in the form 2016-03-28 00:00:00.000000 , how do I request to cut this date to mind 2016-03-28?
1 answer
Just need instead of date_trunc('day', table.created) to put the day(table.created)
Find more questions by tags PostgreSQL