problem with dates

From: "postgresql" <pgsql(at)symcom(dot)com>
To: "PgSQL-SQL" <pgsql-sql(at)postgresql(dot)org>
Subject: problem with dates
Date: 2001-02-22 12:26:17
Message-ID: 200102221219.f1MCJbx36310@mail.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

This is a rather generic question about "date" and "time". I seem to
be beating my head on the wall. I was trying to use a set up a table
with a 'date' and 'time' field. I wanted to keep the two separate.

Can someone explain if there is a difference between a time field
and a timestamp. I don't mean the visual date and time as a single
element. I mean in concept. I have been pouring through the docs
and it appears from my reading that a 'date' field is supposed to act
like the date portion of a timestamp. But it doesn't and I just don't
understand why.

if there is some document somewhere that explains this just point
me to it.

Thanks again.

Ted

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ines.Klimann 2001-02-22 12:52:22 insert values
Previous Message Christopher Sawtell 2001-02-22 09:12:56 Re: logging a psql script