Re: subtract two dates to get the number of days

From: silly sad <sad(at)bankir(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: subtract two dates to get the number of days
Date: 2010-07-14 05:28:35
Message-ID: 4C3D4B03.5070009@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 07/13/10 18:58, Campbell, Lance wrote:
> I want to subtract to dates to know the number of days different.

it would be far more interesting operation if u want to divide an
INTERVAL by INTERVAL to get a ratio :-)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Anders Østergaard Jensen 2010-07-14 11:58:10 Question on COUNT performance
Previous Message Thomas Kellerer 2010-07-13 15:05:12 Re: subtract two dates to get the number of days