Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDbtH-0002jO-Ug for pgsql-sql@arkaria.postgresql.org; Wed, 12 Feb 2014 15:38:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WDbtH-00045u-FB for pgsql-sql@arkaria.postgresql.org; Wed, 12 Feb 2014 15:38:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDbtG-00045o-Pz for pgsql-sql@postgresql.org; Wed, 12 Feb 2014 15:38:22 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDbtD-0003Nw-RZ for pgsql-sql@postgresql.org; Wed, 12 Feb 2014 15:38:22 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WDbl6-0005ao-Cy for pgsql-sql@postgresql.org; Wed, 12 Feb 2014 07:29:56 -0800 Date: Wed, 12 Feb 2014 07:29:56 -0800 (PST) From: rawi To: pgsql-sql@postgresql.org Message-ID: <1392218996355-5791602.post@n5.nabble.com> In-Reply-To: <52FB8D48.6010805@gmail.com> References: <1392105285704-5791371.post@n5.nabble.com> <52FA3499.3020604@gmail.com> <1392193455856-5791556.post@n5.nabble.com> <52FB8D48.6010805@gmail.com> Subject: Re: Time AT TIME ZONE: false result using offset instead of time zone name MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Adrian Klaver-3 wrote > Welcome to the wacky world of time, it is all relative:) The choices are > handle everything as UTC until you present to the end user or use actual > timezones, for example, America/Los_Angeles. To illustrate, in your > original post you said: > > "But it would be easier to ask a specific time offset (got from a client > around the world), so for me +01 hour" > > Do you know if that offset supplied by the client was POSIX or ISO in > its sign? The (playing) question was: how would I get the time zone of a browser somewhere unknown on earth? And the found javascript solution would return the difference between GMT and localtime in minutes, so for me west from Greenwich a negative integer. Please save the following in a html file eg. "time_offset.html" and load it in your browser: -- View this message in context: http://postgresql.1045698.n5.nabble.com/Time-AT-TIME-ZONE-false-result-using-offset-instead-of-time-zone-name-tp5791371p5791602.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql