Re: Extracting date from timestamp

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Extracting date from timestamp
Дата
Msg-id 20050506133749.GB85993@winnie.fuhr.org
обсуждение исходный текст
Ответ на Extracting date from timestamp  (Nageshwar Rao <NageshwarR@PLANETASIA.COM>)
Список pgsql-general
On Fri, May 06, 2005 at 06:26:14PM +0530, Nageshwar Rao wrote:
>
> How to extract date(mm/dd/yyy) from a timestamp .

You could cast the timestamp to date.  See also "Data Type Formatting
Functions" and "Date/Time Functions and Operators" in the "Functions
and Operators" chapter of the documentation.

http://www.postgresql.org/docs/8.0/interactive/functions-formatting.html
http://www.postgresql.org/docs/8.0/interactive/functions-datetime.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Cursor problem
Следующее
От: Brad Nicholson
Дата:
Сообщение: Re: Slony v. DBMirror