How to timestamp

From: "Alex Cheung Tin Ka [CD]" <tkcheung(at)vtc(dot)edu(dot)hk>
To: <pgsql-general(at)postgresql(dot)org>
Subject: How to timestamp
Date: 2001-12-27 08:49:47
Message-ID: 00fa01c18eb3$6ffc4b20$6a44a8c0@ALEXPC
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear everybody,
I would like to know how to create a timestamp value without time zone.
I have encountered a problem that I have set following values in the table.

create table test(
a timestamp without time zone
);
INSERT INTO test (a) VALUES(current_timestamp);

but the value of a always shows the zone value like this "2001-12-27 14:54:47+08"
How to get rid of the last "+08" value?

Thanks,
Alex

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben-Nes Michael 2001-12-27 14:35:25 persistent connection using PHP and Transaction
Previous Message roy cabaniss 2001-12-27 03:58:56 phplib and postgres