From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Good <tomg@sqlclinic.net>
Cc: Ian Barwick <barwick@gmx.net>
Cc: Postgres SQL List <pgsql-sql@postgresql.org>
Subject: Re: Date Anomaly??
Date: Wed, 07 May 2003 12:13:05 -0400
Message-ID: <27677.1052323985@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0305071047270.29670-100000@q8.nrnet.org>
References: <Pine.LNX.4.44.0305071047270.29670-100000@q8.nrnet.org>
Thomas Good <tomg@sqlclinic.net> writes:
> Bottom line: there is no way to return a MM-DD-YYYY value?
Certainly:
regression=# set DateStyle TO postgresql,us;
SET
regression=# select 'today'::date;
date
------------
05-07-2003
(1 row)
Perhaps you are confused by the difference between timestamp and date?
regards, tom lane
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, tomg@sqlclinic.net, barwick@gmx.net
Subject: Re: Date Anomaly??
In-Reply-To: <27677.1052323985@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