public inbox for [email protected]
help / color / mirror / Atom feedFrom: omid omoomi <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: Number of days
Date: Fri, 06 Jul 2001 19:07:50
Message-ID: <[email protected]> (raw)
select date_part('day','@ 4 days 3 hours 2 mins');
date_part
---------
4
HTH
Omid
>From: "Mihai Gheorghiu" <[email protected]>
>To: <[email protected]>
>Subject: [GENERAL] Number of days
>Date: Fri, 6 Jul 2001 14:47:39 -0400
>
>Is there a function that returns the number of days between two dates?
>I found only age, which calculates the difference between two timestamps,
>but the example shows the result as a timestamp.
>Thanks,
>Mihai Gheorghiu
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://www.postgresql.org/search.mpl
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
view thread (3+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Number of days
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox