How to get day of week?

Поиск
Список
Период
Сортировка
От Lloyd Dieter
Тема How to get day of week?
Дата
Msg-id 20041221072825.77715979.ldieter@rochester.rr.com
обсуждение исходный текст
Ответы Re: [despammed] How to get day of week?  (Andreas Kretschmer <akretschmer@despammed.com>)
Re: How to get day of week?  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
Список pgsql-novice
I'm sure I'm missing something obvious, but this is the novice list, so
here goes:

Is there a function to return the day-of-week for a given time/datestamp?

What I'm looking for is something like:

select day(current_timestamp);

That would return the current day of the week (e.g. Monday/Tuesday...)

Thanks,

-Lloyd

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

Предыдущее
От: "Tjibbe Rijpma"
Дата:
Сообщение: Re: Inheritance
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [despammed] How to get day of week?