Re: [GENERAL] age('now',date::datetime)

From: Bob Dusek <bobd(at)palaver(dot)net>
To: mjnf(at)uevora(dot)pt, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] age('now',date::datetime)
Date: 1998-11-05 23:07:49
Message-ID: 36422FC5.6E29DFCD@palaver.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Here's where I found it:

http://www.postgresql.org/docs/user/functions2145.htm

If you would happen to know how to convert a 'timespan' to seconds, or
minutes, or days, or weeks, or months... etc. please let me know.

Bob

Mario Filipe wrote:
>
> On 05-Nov-98 Bob Dusek wrote:
> > Hello again,
> >
> > I am using the age() function to determine the average shelf-life of
>
> Where is this age function ?
>
> When I do \df i can't find it anywhere? Using pg 6.3
>
> Mario Filipe
> mjnf(at)uevora(dot)pt
> -----> http://neptuno.sc.uevora.pt/~mjnf <-----
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Dusek 1998-11-06 02:49:49 timespan
Previous Message Ulf Mehlig 1998-11-05 22:42:46 backend problem, 2nd turn.