pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: silly sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: subtract two dates to get the number of days
Date: Wed, 14 Jul 2010 09:28:35 +0400
Message-ID: <4C3D4B03.5070009@bankir.ru> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE876004B2E65D@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE876004B2E65D@SAB-FENWICK.sab.uiuc.edu>

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 :-)



view thread (8+ messages)  latest in thread

Message-ID: <4C3D4B03.5070009@bankir.ru>
Permalink:  ../4C3D4B03.5070009@bankir.ru/
Also on:    postgresql.org/message-id/4C3D4B03.5070009@bankir.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sad@bankir.ru
  Subject: Re: subtract two dates to get the number of days
  In-Reply-To: <4C3D4B03.5070009@bankir.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox