Re: function to find difference between in days between two dates

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: function to find difference between in days between two dates
Date: 2007-06-14 07:02:46
Message-ID: 20070614070246.GB16034@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

am Thu, dem 14.06.2007, um 11:56:15 +0530 mailte Ashish Karalkar folgendes:
> Hello all,
>
> Is there any function to find differences in days between two dates?

Yes, age().

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Manso Gomez, Ramon 2007-06-14 07:03:48 Re: [SQL] setof or array as input parameter to postgresql 8.2 functions
Previous Message Pavel Stehule 2007-06-14 07:00:12 Re: [SQL] function to find difference between in days between two dates

Browse pgsql-sql by date

  From Date Subject
Next Message Manso Gomez, Ramon 2007-06-14 07:03:48 Re: [SQL] setof or array as input parameter to postgresql 8.2 functions
Previous Message Pavel Stehule 2007-06-14 07:00:12 Re: [SQL] function to find difference between in days between two dates