# of 5 minute intervals in period of time ...

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема # of 5 minute intervals in period of time ...
Дата
Msg-id 20051213183044.X1070@ganymede.hub.org
обсуждение исходный текст
Ответы Re: # of 5 minute intervals in period of time ...  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
Is there a simpler way of doing this then:

select (date_part('epoch', now()) -        date_part('epoch', now() - '30 days'::interval)) / ( 5 *  60 );

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


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

Предыдущее
От: Christian Kratzer
Дата:
Сообщение: Re: exporting Excel tables into PostgreSQL database with Python
Следующее
От: Daniel Hertz
Дата:
Сообщение: Multi-row update w. plpgsql function