Re: Daylight saving time question

From: John R Pierce <pierce(at)hogranch(dot)com>
To: Bayless Kirtley <bkirt(at)cox(dot)net>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Daylight saving time question
Date: 2009-05-18 03:19:31
Message-ID: 4A10D3C3.9090109@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bayless Kirtley wrote:
> How can I tell PostgreSQL to use daylight saving time when applicable?
> Times returned by the database are one hour behind.

it uses your client's specified local time zone to determine whether or
not DST is in effect.

SET TIME ZONE 'America/New York';

or

SET TIME ZONE 'PST8PDT';

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paolo Saul 2009-05-18 05:14:22 Is this a bug or a feature? Column visibility in subquery from outer query
Previous Message Bayless Kirtley 2009-05-18 03:11:00 Daylight saving time question