Re: timestamp interval issue

Поиск
Список
Период
Сортировка
От Lonni J Friedman
Тема Re: timestamp interval issue
Дата
Msg-id 7c1574a90710051644p49c3c2fej2c5423c47ee51fc1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: timestamp interval issue  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-novice
On 10/5/07, Michael Glaesemann <grzm@seespotcode.net> wrote:
>
> On Oct 5, 2007, at 18:08 , Valentin Gjorgjioski wrote:
>
> > where ((now>today:16:00 && date_created>today:16:00) || (now<today:
> > 16:00 && date_created>yesterday:16:00))
>
> I assume he wanted SQL: what language is this?

Yes, I was hoping for SQL.  Barring that, I'll like have to hack up
something in PHP to create a different SQL statement based on the time
of day.

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: timestamp interval issue
Следующее
От: "Lonni J Friedman"
Дата:
Сообщение: Re: timestamp interval issue