Re: Store dates in database in different format - Mailing list pgsql-general

From Bill Moran
Subject Re: Store dates in database in different format
Date
Msg-id 20070427141638.8f01d266.wmoran@potentialtech.com
Whole thread Raw
In response to Store dates in database in different format  (RPK <rpk.general@gmail.com>)
List pgsql-general
In response to RPK <rpk.general@gmail.com>:
>
> I am using pgsql 8.2.3 on windows XP. I noticed that dates are store in
> 'Date' columns of a table in "yyyy-mm-dd" format whereas I want to store it
> in "dd-MMM-yyyy" format. Can I change this?

They're not stored in that format, they're just displaying in that format.

Here's a good place to start reading:
http://www.postgresql.org/docs/8.2/static/datatype-datetime.html#DATATYPE-DATETIME-OUTPUT

--
Bill Moran
http://www.potentialtech.com

pgsql-general by date:

Previous
From: RPK
Date:
Subject: Store dates in database in different format
Next
From: Jeff Davis
Date:
Subject: Re: Store dates in database in different format