Date Time Function / Age - Mailing list pgsql-general

From Alex
Subject Date Time Function / Age
Date
Msg-id 3F4E0D28.60904@meerkatsoft.com
Whole thread Raw
Responses Re: Date Time Function / Age  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Date Time Function / Age  (Bruno Wolff III <bruno@wolff.to>)
List 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 by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Functions have 32 args limt ???
Next
From: "Ivar"
Date:
Subject: Re: Functions have 32 args limt ???