Date format

Поиск
Список
Период
Сортировка
От Dylan Fogarty-MacDonald
Тема Date format
Дата
Msg-id 44CD93CE.1000403@gmail.com
обсуждение исходный текст
Ответы Re: Date format
Re: Date format
Список pgsql-novice
Hi,

I have two fields of column type 'date' from which I want to output a
formatted date (with PHP).

I understand that MySQL  would use DATE_FORMAT and appropriate %M, %D
commands.
I am having trouble finding the equivalent PostgresQL commands. I am
using PG 7.3.4.

I have found the template patterns for the conversions. I want it to be
in this format:

Day, DD Month YYYY

I do not know the function to format this so.

if to_date() converts a string to date, what converts/formats date to
string?

Thankyou very much.

-Dylan Fogarty-MacDonald
dylan.fm@gmail.com

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

Предыдущее
От: "Carlo Stonebanks"
Дата:
Сообщение: Configuring tsearch2 under windows
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Date format