Re: date format - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: date format
Date
Msg-id 20070304170935.GC11685@svana.org
Whole thread Raw
In response to Re: date format  (Garry Saddington <garry@schoolteachers.co.uk>)
Responses Re: date format
List pgsql-general
On Sun, Mar 04, 2007 at 05:05:44PM +0000, Garry Saddington wrote:
> On Sunday 04 March 2007 16:16, Raymond O'Donnell wrote:
> > On 04/03/2007 16:16, Garry Saddington wrote:
> > > I tried pgAdmin3 on windows to run 'select now()'  and it still does not
> > > return the correct datestyle.
> >
> > Probably a silly question, but did you remember to restart the server
> > after changing the datestyle setting?
> yes
> regards

Can you show us your exact output so we don't have to guess? I get
this:

# set datestyle=iso,dmy;
SET
# select now();
              now
-------------------------------
 2007-03-04 18:07:54.626267+01
(1 row)

Which is precisely what I expect.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Garry Saddington
Date:
Subject: Re: date format
Next
From: "Timasmith"
Date:
Subject: Re: Can I getting a unique ID from a select