diference in dates in minutes

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: diference in dates in minutes
Date: 2005-02-24 22:34:08
Message-ID: 007401c51ac0$f515b250$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
 

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2005-02-25 00:49:11 Re: PostgreSQL ignores my indexes
Previous Message Tom Lane 2005-02-24 17:50:29 Re: Junk queries with variables?