Re: timeofday() and now() issue.. - Mailing list pgsql-sql

From Tom Lane
Subject Re: timeofday() and now() issue..
Date
Msg-id 10656.1051888606@sss.pgh.pa.us
Whole thread Raw
In response to Re: timeofday() and now() issue..  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Responses Re: timeofday() and now() issue..  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Re: timeofday() and now() issue..  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List pgsql-sql
Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> tradein_clients=#  SELECT timeofday();
> +-------------------------------------+
> |              timeofday              |
> +-------------------------------------+
> | Fri May 02 20:34:13.634355 2003 IST |
> +-------------------------------------+

Hmm.  Looking in datetime.c, I see that Postgres believes "IST" is
Israel Standard Time, GMT+2.  So that explains the discrepancy,
if you think it's GMT+5.5.  What exactly are you doing to set the
system timezone?
        regards, tom lane



pgsql-sql by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: timeofday() and now() issue..
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: timeofday() and now() issue..