Timestamp problem - Mailing list pgsql-sql

From Bernie Huang
Subject Timestamp problem
Date
Msg-id 396A1B6A.E51A5499@ec.gc.ca
Whole thread Raw
List pgsql-sql
Hi,

I have Postgres 7.0, and I created a table

table
---------
...
borrow timestamp
return timestamp

Now, I thought timestamp is in sec eg; 35434434, but in PostgreSQL, it
shows up as datetime datatype eg; 2000-06-07 17:00:05-07.

I was wondering is this format a correct one for timestamp, or is it a
bug?  Abd if I want to show the time, each retrieval I have to chop of
the '-07' timezone at the end.  Is there a way to avoid this being show
up in Postgres?

Thanks.


- Bernie

Attachment

pgsql-sql by date:

Previous
From: "DalTech - Continuing Technical Education"
Date:
Subject: Re: problem with date
Next
From: Ed Loehr
Date:
Subject: Re: Timestamp problem