Re: Date format

From: "Tubagus Nizomi" <nizomi(at)dnet(dot)net(dot)id>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Date format
Date: 2002-04-11 07:20:06
Message-ID: 001d01c1e129$4e65fce0$290194ca@dnet.net.id
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

you can try

psql>SET DATESTYLE TO ISO/SQL/Postgres

ISO yyyy-mm-dd
SQL mm/dd/yyyy
Postgres Wed Dec 17 07:37:16 1997

Nizomi
----- Original Message -----
From: cristi69
To: pgsql-sql(at)postgresql(dot)org
Sent: Thursday, April 11, 2002 2:04 PM
Subject: [SQL] Date format

Hi,

I try to set up PG7.1.3
The date format now is yyyy-mm-dd
How can I start it in date format mm-dd-yyyy?

in posgresql file I have:
.......-p /usr/bin/postmaster start -o -i > dev/null 2>...........

Thanks in advance!

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Ellerbrock 2002-04-11 09:49:15 REPOST: Trouble with SQL conversion
Previous Message cristi69 2002-04-11 07:04:43 Date format