Re: Timestamp

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: Timestamp
Дата
Msg-id Pine.LNX.3.96.1001011122743.30162G-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Timestamp  ("Enrico Comini" <algobit@algobit.com>)
Список pgsql-general
On Wed, 11 Oct 2000, Enrico Comini wrote:

> date problem with PHP and Postgresql.
>
> I fetch a date $date_ord (timestamp) from Postgresql, then I have
>

 First, look at PHP and PostgreSQL manuals and comperate PG's timestamp
and PHP date() param2 ...!

> date("l, d F, Y",$date_ord)

 You can formatfing date/time output from PG inside SQL query, see the
function to_char()

> But this value is always thursday, 01 January, 1970

 .. sure ...

                    Karel


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

Предыдущее
От: "Enrico Comini"
Дата:
Сообщение: Timestamp
Следующее
От: "Adam Lang"
Дата:
Сообщение: Re: Re: [HACKERS] My new job