diference in dates in minutes - Mailing list pgsql-sql

From Joel Fradkin
Subject diference in dates in minutes
Date
Msg-id 007401c51ac0$f515b250$797ba8c0@jfradkin
Whole thread Raw
Responses Re: diference in dates in minutes
List pgsql-sql
Sorry for being redundant (I asked this a while back).
I was looking for in days before and used date math
Date1::date - date2::date returned the days which was fine for my original
question.
I did get a reply mentioning the age function and he mentioned I could get
minutes etc.
I looked up age in the docs and did not see it.
Anyone have a example of using it to get the minutes between two date
functions, or another method?


Joel Fradkin
 




pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Junk queries with variables?
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL ignores my indexes