pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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




view thread (8+ messages)  latest in thread

Message-ID: <10656.1051888606@sss.pgh.pa.us>
Permalink:  ../10656.1051888606@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10656.1051888606@sss.pgh.pa.us

 · 

reply

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