diference in dates in minutes

Поиск
Список
Период
Сортировка
От Joel Fradkin
Тема diference in dates in minutes
Дата
Msg-id 007401c51ac0$f515b250$797ba8c0@jfradkin
обсуждение исходный текст
Ответы Re: diference in dates in minutes  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
Sorry for being redundant (I asked this a while back).
I was looking for in days before and used date math
Date1::date - date2::date returned the days which was fine for my original
question.
I did get a reply mentioning the age function and he mentioned I could get
minutes etc.
I looked up age in the docs and did not see it.
Anyone have a example of using it to get the minutes between two date
functions, or another method?


Joel Fradkin
 




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Junk queries with variables?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL ignores my indexes