Re: date format

From: Garry Saddington <garry(at)schoolteachers(dot)co(dot)uk>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-general(at)postgresql(dot)org, rod(at)iol(dot)ie
Subject: Re: date format
Date: 2007-03-04 18:56:20
Message-ID: 200703041856.20139.garry@schoolteachers.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday 04 March 2007 17:09, Martijn van Oosterhout wrote:
> 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.
Which is precisely what I get, but I want 04-03-2007.
regards
Garry

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2007-03-04 19:18:04 real multi-master replication?
Previous Message Joshua D. Drake 2007-03-04 18:36:42 Re: Support for idempotent schema changes?