From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: timeofday() and now() issue..
Date: Fri, 02 May 2003 11:16:46 -0400
Message-ID: <10656.1051888606@sss.pgh.pa.us> (raw)
In-Reply-To: <200305022037.09625.mallah@trade-india.com>
References: <200305021844.35194.mallah@trade-india.com>
<10505.1051887437@sss.pgh.pa.us>
<200305022037.09625.mallah@trade-india.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, mallah@trade-india.com
Subject: Re: timeofday() and now() issue..
In-Reply-To: <10656.1051888606@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox