Received: from netcom-sys.com (mail.netcom-sys.com [209.10.27.71]) by hub.org (8.9.3/8.9.3) with SMTP id RAA89261 for ; Tue, 2 May 2000 17:59:38 -0400 (EDT) (envelope-from jzhu@netcom-sys.com) Received: from jzhu by netcom-sys.com (SMI-8.6/SMI-SVR4) id RAA15082; Tue, 2 May 2000 17:55:23 -0400 From: "Jack Zhu" To: Subject: Output from 'timestamp' column!? Date: Tue, 2 May 2000 18:01:28 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2212 (4.71.2419.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 X-Archive-Number: 200005/8 Hi, all: PostgreSQL 7 Beta 5 on Red hat Linux 6.0 We have a a table which has a column col_a with 'timestamp' data type. When insert time value to this column, we use format which is 'MM/DD/YYYY HH24:MI:SS' (such as '05/01/2000 13:20:02'). Insertion is OK. But when we try to read this column, the output is '05/01/2000 13:20:02.20-04', which is not what we need. We don't need the '.20-04' part of the output, that is nano second and time zone part. Is there any ways that make the output doesn't contain the nano second and time zone part? Thnx a lot! Jack