Subtraction of Dates

Поиск
Список
Период
Сортировка
Искать
От
Valerie Goodman
Тема
Subtraction of Dates
Дата
Msg-id
NEBBIJFAKLBIBECFEAGOCEEHCPAA.VGoodman@aih.co.uk
Список
Дерево обсуждения
Subtraction of Dates "Valerie Goodman" <VGoodman@aih.co.uk>

When I want an integer for a number of days between two dates, direct
subtraction of two dates returns an integer.

However, age function returns an interval.

Which is the correct method to use and if age is the correct method, how do
I convert that to the number of days?





В списке pgsql-sql по дате отправления
От: Jeff Boes
Дата:
Сообщение: Re: to_char() and order-by
От: Dennis Kaarsemaker
Дата:
Сообщение: Re: Calculating with sql
FAQ