Skip site navigation (1) Skip section navigation (2)

timestamp wiht time zone

From: "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: timestamp wiht time zone
Date: 2007-06-27 19:17:12
Message-ID: a47902760706271217g65dde5cfi9642458eaed0652d@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
Hi,
i have a column in my table defined like this:

time_stamp timestamp DEFAULT ('now'::text)::timestamp with time zone

Data gets filled in this column from a Unix tools server.

Example values of this field are:

time_stamp
--------------------------------------------
2007-06-27 14:52:14.760133
2007-06-27 15:06:56.90582

I have the following questions on this field.

1. What is the value after the dot (period) at the end. Like 760133 and
90582
2. How does it talk about the time zone.

Also, the reason I'm using time zone is that I have to compare different
values in the tables correctly without any error(s)
based on time zones.

Any kind of help would be greatly appreciated.


Thanks,
~Jas

Responses

pgsql-general by date

Next:From: Enrico SirolaDate: 2007-06-27 19:22:53
Subject: Re: COPY to/from non-local file
Previous:From: Bret BusbyDate: 2007-06-27 19:12:01
Subject: Status of pgaccess

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group