day difference

Jackie Siu <spjackie@polyu.edu.hk>

From: "Jackie Siu" <spjackie@polyu.edu.hk>
To: pgsql-sql@postgresql.org
Date: 2001-06-23T03:31:37Z
Lists: pgsql-sql
Hi,

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.

Jackie