pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: Pham, Thinh <tpham@mail.priority.net>
Cc: 'pgsql-sql@postgreSQL.org' <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] datediff function
Date: Tue, 17 Aug 1999 09:34:21 -0400
Message-ID: <15494.934896861@sss.pgh.pa.us> (raw)
In-Reply-To: <551413BBBB03D111BF880060B01AACCE139F34@home.priority.net>
"Pham, Thinh" <tpham@mail.priority.net> writes:
> What happen if i just want to compare using minute only or hour only instead
> of day? Is there a function to do that or is postgres only work in day?
See date_part().
regards, tom lane
view thread (12+ messages) latest in thread
Message-ID: <15494.934896861@sss.pgh.pa.us>
Permalink: ../15494.934896861@sss.pgh.pa.us/
Also on: postgresql.org/message-id/15494.934896861@sss.pgh.pa.us
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: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, tpham@mail.priority.net
Subject: Re: [SQL] datediff function
In-Reply-To: <15494.934896861@sss.pgh.pa.us>
* 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