Re: Timestamp with timezone output

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Arnaud Inovia Team <arnaud(dot)becher(at)inovia-team(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: Timestamp with timezone output
Date: 2016-05-25 14:57:18
Message-ID: 089ebf89f6c1101dc4e15d8cd952dc96@thebighonker.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2016-05-25 09:47, Arnaud Inovia Team wrote:

> I have some question regarding some timezone behaviour.
>
> Documentation is saying:
>> When a timestamp with time zone value is output, it is always converted from UTC to the current timezone zone, and displayed as local time in that zone. To see the time in another time zone, either change timezone or use the AT TIME ZONE construct (see Section 9.9.3).
>
> While using "psql", when selecting a column timestamp with timezone, I get results with different timezones:
>
> -[ RECORD 6 ]---+-----------------------
> expiration_date | 2015-09-07 00:00:00+02
> -[ RECORD 7 ]---+-----------------------
> expiration_date | 2015-11-27 00:00:00+01
>
> Shouldn't all value be converted to the same timezone ?
>
> Thank you for your help !

Daylight Savings Time?

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: ler(at)lerctr(dot)org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2016-05-25 14:58:49 Re: Timestamp with timezone output
Previous Message Arnaud Inovia Team 2016-05-25 14:47:59 Timestamp with timezone output