Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 93101475451 for ; Sun, 14 Apr 2002 13:06:41 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3EH6dF22188; Sun, 14 Apr 2002 13:06:39 -0400 (EDT) To: Egon Reetz Cc: pgsql-admin Subject: Re: Wrong date inserts In-reply-to: <3CB9674D.5E1BB361@usco.de> References: <3CB9674D.5E1BB361@usco.de> Comments: In-reply-to Egon Reetz message dated "Sun, 14 Apr 2002 13:26:05 +0200" Date: Sun, 14 Apr 2002 13:06:38 -0400 Message-ID: <22185.1018803998@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/112 X-Sequence-Number: 4000 Egon Reetz writes: > It looks like day and month are exchanged, when the day is less or equal > 12. Sounds like you should change DateStyle to tell the truth about the date format you are using. The system has to rely on that when the field values don't make it obvious which component is which. Looks like you want 'German' datestyle for this input. regards, tom lane