Re: extracting date from timestamp - Mailing list pgsql-novice

From Tom Lane
Subject Re: extracting date from timestamp
Date
Msg-id 27599.1106612997@sss.pgh.pa.us
Whole thread Raw
In response to extracting date from timestamp  ("Keith Worthington" <keithw@narrowpathinc.com>)
List pgsql-novice
"Keith Worthington" <keithw@narrowpathinc.com> writes:
> I have timestamp information in a table.  I want to extract the date portion
> for insertion into another table.

You're doing it the very very hard way.  Just cast the timestamp value
to date.

            regards, tom lane

pgsql-novice by date:

Previous
From: Alexander Borkowski
Date:
Subject: Re: extracting date from timestamp
Next
From: "Rodolfo J. Paiz"
Date:
Subject: Formatting a month in query output