pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Bronx <tobronx@go2.pl>
To: pgsql-admin@postgresql.org
Subject: Re: Change date format
Date: Sat, 29 Jun 2002 21:01:24 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com> (raw)
In-Reply-To: <004501c21fc2$7dc6eb20$b520b33e@chello.pl>

You can set it either within the session, or set a default. For details,
check this page in the docs:

http://www.postgresql.org/idocs/index.php?sql-set.html

(Look for DATESTYLE)

Regards,

-Nick
--------------------------------------------------------------------------
Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/



-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Bronx
Sent: Saturday, June 29, 2002 6:13 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Change date format


Hi,
does anybody know who I can change a default format date displayed in table.
Date is displayed in 'Y-m-d' format but it should be 'd-m-Y'.
How can I change it?
Thanks






view thread (2+ messages)

Message-ID: <NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nickf@ontko.com, tobronx@go2.pl
  Subject: Re: Change date format
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com>
  References: <004501c21fc2$7dc6eb20$b520b33e@chello.pl> <NEBBLAAHGLEEPCGOBHDGEENDFDAA.nickf@ontko.com>

* 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