Re: [SQL] function to find difference between in days between two dates

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>, "Ashish Karalkar" <ashish(dot)karalkar(at)info-spectrum(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] function to find difference between in days between two dates
Date: 2007-06-14 12:47:09
Message-ID: 162867790706140547s591ed956lb93972b686e74505@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

> Hrm, yet Bruce mentions it in one of his documents.
>
> http://momjian.us/main/writings/pgsql/data_processing.pdf
>
> It may be undocumented, but it get a lot of hits on google :)
>

why google? look to pgsql/src/backend/utils/adt/date.c :-)

Regards
Pavel Stehule

In response to

Browse pgsql-general by date

  From Date Subject
Next Message g.hintermayer 2007-06-14 12:58:18 Re: precision of epoch
Previous Message Andreas 'ads' Scherbaum 2007-06-14 12:41:52 Re: New Live CD needed

Browse pgsql-sql by date

  From Date Subject
Next Message Campbell, Lance 2007-06-14 13:08:26 Random Unique Integer
Previous Message Martijn van Oosterhout 2007-06-14 12:26:28 Re: [SQL] function to find difference between in days between two dates