pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Webb Sprague <wsprague100@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Getting number of days
Date: Wed, 27 Sep 2000 12:09:16 -0700 (PDT)
Message-ID: <20000927190916.27309.qmail@web801.mail.yahoo.com> (raw)

Hi All,

Does anybody know how to convert an interval into a
number of days.  Say I have something like '2 years 4
months 4 ago', I need to get the total number of days,
something like 800 (ish).  Is there a built in
function?

Thanks
W

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/



Message-ID: <20000927190916.27309.qmail@web801.mail.yahoo.com>
Permalink:  ../20000927190916.27309.qmail@web801.mail.yahoo.com/
Also on:    postgresql.org/message-id/20000927190916.27309.qmail@web801.mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: wsprague100@yahoo.com
  Subject: Re: Getting number of days
  In-Reply-To: <20000927190916.27309.qmail@web801.mail.yahoo.com>
  References: <20000927190916.27309.qmail@web801.mail.yahoo.com>

* 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