datetime datatype question

Поиск
Список
Период
Сортировка
От Kevin Heflin
Тема datetime datatype question
Дата
Msg-id Pine.LNX.4.10.9910011434101.4484-100000@mercury.shreve.net
обсуждение исходный текст
Ответы Re: [GENERAL] datetime datatype question  ("Patrick Welche" <prlw1@newn.cam.ac.uk>)
Список pgsql-general
If from the psql command line I use select current_timestamp it shows like
this:

1999-10-01 14:30:53-05

However if I insert into a datetime field, when I do a select it formats
it like so:

Sun Oct 03 10:00:00 1999 CDT

Is there a way I can retrieve the information from a datetime field, and
format it like the first example ?

Kevin


--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
Production            | 333 Texas St #175    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


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

Предыдущее
От: Scott Perkins
Дата:
Сообщение: PostgreSQL vs Mysql for website?
Следующее
От: "Patrick Welche"
Дата:
Сообщение: Re: [GENERAL] datetime datatype question