Re: Timezone information

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Timezone information
Date: 2014-02-19 21:02:29
Message-ID: 20140219210229.GT29726@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 20, 2014 at 02:24:53AM +0530, Dev Kumkar wrote:
> Ok but am confused then, as if no timezone parameter is defined in
> postgreSQL.conf file then yes UTC time is returned. "Select now()"
> but if timezone parameter is set then "Select now()" returns date time as
> per timezone.

Try issuing SET TimeZone commands. I think you'll find that the
client can set whatever time zone it wants.

Best regards,

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dev Kumkar 2014-02-19 21:09:33 Re: UTF-8 collation on Windows?
Previous Message Dev Kumkar 2014-02-19 20:54:53 Re: Timezone information