From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | wsheldah(at)lexmark(dot)com |
Cc: | am(at)fx(dot)ro, pgsql-general(at)postgresql(dot)org |
Subject: | Re: output format for dates |
Date: | 2002-09-23 14:58:45 |
Message-ID: | 200209231458.g8NEwjc12553@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
wsheldah(at)lexmark(dot)com wrote:
>
> Will setting the DATESTYLE to ISO allow it to accept dates in the ISO
> format '2002-09-23T10:54:32', including the 'T' between the date and the
> time? I have a client app. that handles dates in that format, and currently
> I have to change the 'T' to a space before inserting or updating it into a
> table. Thanks,
Yes, I think that was added as well:
test=> select timestamp '2002-09-23T10:54:32';
timestamp
---------------------
2002-09-23 10:54:32
(1 row)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-09-23 15:03:06 | Re: [SQL] Monitoring a Query |
Previous Message | pginfo | 2002-09-23 14:52:56 | Query analyzer for postgresql wanted |