Re: timestamp timezone problem

From: Afton & Ray Still <rastill(at)shaw(dot)ca>
To: operationsengineer1(at)yahoo(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: timestamp timezone problem
Date: 2005-08-01 17:37:37
Message-ID: 005501c596bf$b5a4e610$7c884146@rayshome
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


----- Original Message -----
From: <operationsengineer1(at)yahoo(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Sent: Monday, August 01, 2005 11:29 AM
Subject: [NOVICE] timestamp timezone problem

> when i run the following query
>
> select now()::timestamptz
>
> in pgadmin3's sql window, it ends with -07. as i
> understand it, that is the time zone. my computer is
> GMT-8 since i'm in the pacific time zone.

Daylight Savings? (One hour eariler than normal)

>
> why is there a discrepancy - or is it just me not
> knowing the nuts and bolts of what is going on?
>
> to tz or not tz? that is the question. i think i want
> to tz b/c i can't guarantee that tz won't become
> relevant in the future (ie, data may be entered from
> two different time zones a report may want to compare
> the dates).
>
> any advice would be appreciated.
>
> tia...
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005
>
>

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dane Ensign 2005-08-01 21:33:59 os x and initdb data directory
Previous Message operationsengineer1 2005-08-01 17:29:17 timestamp timezone problem