Re: day difference - Mailing list pgsql-sql

From Josh Berkus
Subject Re: day difference
Date
Msg-id web-79059@davinci.ethosmedia.com
Whole thread Raw
In response to day difference  ("Jackie Siu" <spjackie@polyu.edu.hk>)
List pgsql-sql
Jackie,
> Is there exist a function to calculate day difference between two
> date. For
> example: select functionx('1JAN2001','5FEB2001') from abc where ....
> Then it
> returns 36 (days). Thanks for your help.
>

See the thread entitled "DateDiff" earlier this week, or search the
archives.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: Jeremy Buchmann
Date:
Subject: Re: [ADMIN] timeout
Next
From: "Josh Berkus"
Date:
Subject: Evaluating Subselects