From: Jackie Siu <spjackie@polyu.edu.hk>
To: pgsql-sql@postgresql.org
Subject: day difference
Date: Sat, 23 Jun 2001 11:31:37 +0800
Message-ID: <9h12ft$1gpg$1@news.tht.net> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: spjackie@polyu.edu.hk
Subject: Re: day difference
In-Reply-To: <9h12ft$1gpg$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox