Date Time Function / Age

Поиск
Список
Период
Сортировка
От Alex
Тема Date Time Function / Age
Дата
Msg-id 3F4E0D28.60904@meerkatsoft.com
обсуждение исходный текст
Ответы Re: Date Time Function / Age  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Date Time Function / Age  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Hi,
is there an easy way to get the Difference between 2 dates in Days... as
an integer?

age('date1','date2') results in  x years y days or something similar.
but I would like to
have the result in number of days as an integer.

Thanks for your help

Alex



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

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: Functions have 32 args limt ???
Следующее
От: "Ivar"
Дата:
Сообщение: Re: Functions have 32 args limt ???