Answer the question
In order to leave comments, you need to log in
Trim date in PostgreSql?
In sql query I use SELECT date_trunc('day', table.created) AS day and .... further query.
as a result, I get the date in the form 2016-03-28 00:00:00.000000 , how can I cut this date in the query to look like 2016-03-28?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question