Re: know the day from timestamp..

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: know the day from timestamp..
Дата
Msg-id 20020912064726.Y45340-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на know the day from timestamp..  (jerome <jerome@gmanmi.tv>)
Список pgsql-general
On Thu, 12 Sep 2002, jerome wrote:

> is there a function that will say the day (monday... sunday) in numeric...
>
> input -- 2002-09-12 20:44:21+08 or just date -- 2002-09-12
>
> will output thursday or 4 just like the date command for the shell..

I believe EXTRACT(DOW from <timestamp>)
will give you a numeric day of week.


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

Предыдущее
От: Francisco J Reyes
Дата:
Сообщение: Re: pg_dumpall between Linux and FreeBSD.
Следующее
От: "Peter Alberer"
Дата:
Сообщение: Postgres hardware configuration, clustering and replication