[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] [RFC] HTTP timezone
From:       Stefanos Harhalakis <v13 () priest ! com>
Date:       2007-06-10 11:20:58
Message-ID: 200706101420.59225.v13 () priest ! com
[Download RAW message or body]

On Sunday 10 June 2007, Tijnema wrote:
> To get back to the point, I think that the timezone should be defined
> on what time it actually is at his PC, and what time it is on
> time.nist.gov for example, and not lookng at some setting... Timezone
> setting is often wrong, people just update their time to match the
> time of their watch. This sets the UTC time wrong too, but still
> displays the right time to the user. So if you compare this time to
> time on web servers that are allways right, and you compare the
> difference between that, then you know the timezone that is probably
> right.

  Timezone is a property of the user and some times of the session. It is not 
a property of a system. Different users of a system may use different 
timezones (unless they use Windows where they can't). 

  Anyway, I strongly believe that the issue of providing the correct timezone 
should be a concern of the end user and the browser. Any error checking and 
workarounds should be performed by those two and not by the server side 
scripts.

  In any way, there is no guarantee that the timezone information provided by 
clients will be correct. That's why it should only be used for informational 
purposes and not for security etc.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic