pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: timeofday() and now() issue..
Date: Fri, 2 May 2003 21:06:49 +0530
Message-ID: <200305022106.49806.mallah@trade-india.com> (raw)
In-Reply-To: <10656.1051888606@sss.pgh.pa.us>
References: <200305021844.35194.mallah@trade-india.com>
	<200305022037.09625.mallah@trade-india.com>
	<10656.1051888606@sss.pgh.pa.us>



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@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

-- 
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.




view thread (8+ messages)  latest in thread

Message-ID: <200305022106.49806.mallah@trade-india.com>
Permalink:  ../200305022106.49806.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200305022106.49806.mallah@trade-india.com

 · 

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: mallah@trade-india.com, tgl@sss.pgh.pa.us
  Subject: Re: timeofday() and now() issue..
  In-Reply-To: <200305022106.49806.mallah@trade-india.com>

* 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