Extract date portion of a datetime field - Mailing list pgsql-novice

From JORGE MALDONADO
Subject Extract date portion of a datetime field
Date
Msg-id CAAY=A7_Fc=ytKMeghsKdSNsohXAJy345KQnXvCKsD+M60n26hQ@mail.gmail.com
Whole thread Raw
Responses Re: Extract date portion of a datetime field
Re: Extract date portion of a datetime field
Re: Extract date portion of a datetime field
RE: Extract date portion of a datetime field
List pgsql-novice
Hello,

I have a table with a datetime field which saves (of course) date and time information. I need to design a query to count the number of records of each date without taking into account the time portion. I have seen that I can use functions like EXTRACT but I do not find how to extract the whole date only.

I will very much appreciate your feedback.

Respectfully,
Jorge Maldonado

pgsql-novice by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Setting shared_buffers No Effect
Next
From: Tom Lane
Date:
Subject: Re: Extract date portion of a datetime field