Re: Time AT TIME ZONE: false result using offset instead of time zone name - Mailing list pgsql-sql

From rawi
Subject Re: Time AT TIME ZONE: false result using offset instead of time zone name
Date
Msg-id 1392218996355-5791602.post@n5.nabble.com
Whole thread Raw
In response to Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name
Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name
List pgsql-sql
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.



pgsql-sql by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name
Next
From: Adrian Klaver
Date:
Subject: Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name