From: | Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: timeofday() and now() issue.. |
Date: | 2003-05-02 15:36:49 |
Message-ID: | 200305022106.49806.mallah@trade-india.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I *think* i do this in Redhat Linux.
TZ='Asia/Calcutta'; export TZ
Yeah *MANY A TIMES* i felt like raising this
issue that IST is indian standard times not
Israel Standart Time as mentioned in
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=x11875.html
hmm ignore my ignorance , i am not knowledgable
abt timezones.
regds
mallah.
On Friday 02 May 2003 8:46 pm, Tom Lane wrote:
> 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
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-05-02 16:04:30 | Re: implied FROM |
Previous Message | Tom Lane | 2003-05-02 15:16:46 | Re: timeofday() and now() issue.. |