pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nimeshb <nimeshb@syscon-intl.com>
To: Brian McCane <bmccane@mccons.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: time stamp
Date: Thu, 20 Jun 2002 09:30:57 -0500
Message-ID: <001301c21867$1814a720$110a11ac@sysconintl.com> (raw)
References: <20020619183144.B2042-100000@fw.mccons.net>

CREATE TABLE test (ts TIMESTAMP WITHOUT TIME ZONE) ; doesn't work. It
creates that table but
when you insert a value without time zone it stll appends -05 as time
zone(my datestyle is US and since my time is EST it appends 05 on its own
and that sucks )


----- Original Message -----
From: "Brian McCane" <bmccane@mccons.net>
To: "nimeshb" <nimeshb@syscon-intl.com>
Cc: <pgsql-admin@postgresql.org>
Sent: Wednesday, June 19, 2002 6:32 PM
Subject: Re: [ADMIN] time stamp


>
> CREATE TABLE test (ts TIMESTAMP WITHOUT TIME ZONE) ;
>
>
> On Wed, 19 Jun 2002, nimeshb wrote:
>
> > The datatype "timestamp" automatically adds zone in the field values.
> > i.e. If you insert a value 06-05-2002 15:03:08 (MM/DD/YYYY HH/MM/SS) it
would store as "06-05-2002 15:03:08-05". I don't want
> > last two digits 05 which represents timezone and determines how many hrs
you are ahead(or behind?) GMT.
> > Is there anyway to get rid of these digits(representing Zone)
> > Nimesh
> >
> >
>
> Wm. Brian McCane                    | Life is full of doors that won't
open
> Search http://recall.maxbaud.net/   | when you knock, equally spaced amid
those
> Usenet http://freenews.maxbaud.net/ | that open when you don't want them
to.
> Auction http://www.sellit-here.com/ | - Roger Zelazny "Blood of Amber"
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>




view thread (15+ messages)  latest in thread

Message-ID: <001301c21867$1814a720$110a11ac@sysconintl.com>
Permalink:  ../001301c21867$1814a720$110a11ac@sysconintl.com/
Also on:    postgresql.org/message-id/001301c21867$1814a720$110a11ac@sysconintl.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nimeshb@syscon-intl.com, bmccane@mccons.net
  Subject: Re: time stamp
  In-Reply-To: <001301c21867$1814a720$110a11ac@sysconintl.com>
  References: <20020619183144.B2042-100000@fw.mccons.net> <001301c21867$1814a720$110a11ac@sysconintl.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox