I just realized why the attached and variants are FAQs --- the operatorsfor date minus date, date plus integer, etc are documented nowhere.
regards, tom lane
------- Forwarded Message
Date: Thu, 28 Aug 2003 23:09:44 +0900From: Alex <alex(at)meerkatsoft(dot)com>To: pgsql-general(at)postgresql(dot)orgSubject: [GENERAL] Date Time Function / Age
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 tohave the result in number of days as an integer.
Thanks for your help
------- End of Forwarded Message