Re: [GENERAL] age('now',date::datetime) - Mailing list pgsql-general

From Bob Dusek
Subject Re: [GENERAL] age('now',date::datetime)
Date
Msg-id 36422FC5.6E29DFCD@palaver.net
Whole thread Raw
In response to RE: [GENERAL] age('now',date::datetime)  (Mario Filipe <mjnf@uevora.pt>)
List 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@uevora.pt
> ----->  http://neptuno.sc.uevora.pt/~mjnf <-----
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

pgsql-general by date:

Previous
From: Ulf Mehlig
Date:
Subject: backend problem, 2nd turn.
Next
From: Bob Dusek
Date:
Subject: timespan