Is it possible for PostgreSQL to support mmddyyyy date format?

From: Bernard Barton <bfb21(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Is it possible for PostgreSQL to support mmddyyyy date format?
Date: 2009-04-08 23:08:02
Message-ID: 49DD2E52.7040303@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm currently porting an Informix based application to PostgreSQL 8.3.
All of the dates processed by the application are in the mmddyyyy
format. According to the date input table at the link below, the
mmddyyyy format is not listed. The yyyymmdd format is supported, but
I'd have to modify a LOT of code to change the format, which I'm trying
to avoid. Is there any way to get PG to work with the mmddyyyy date
format? I know I can use the to_date function, but again, it would be
MUCH simpler if PG worked with this format.

-Thanks

http://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-DATETIME-DATE-TABLE

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2009-04-08 23:15:57 Re: recovery after segmentation fault
Previous Message Chris 2009-04-08 22:49:49 Re: Table has 22 million records, but backup doesn't see them