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: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
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:

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
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.



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-2017 The PostgreSQL Global Development Group