Re: timeofday() and now() issue..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: timeofday() and now() issue..
Date: 2003-05-02 15:16:46
Message-ID: 10656.1051888606@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Rajesh Kumar Mallah <mallah(at)trade-india(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2003-05-02 15:36:49 Re: timeofday() and now() issue..
Previous Message Rajesh Kumar Mallah 2003-05-02 15:07:09 Re: timeofday() and now() issue..