Derick Rethans wrote:

On Wed, 28 Sep 2005, Stanislav Malyshev wrote:


LC>>> UTC. Do you have your watch in UTC and your wall clock in your home in
LC>>> UTC? LC>>
LC>>ACTUALLY - all the server clocks are set to GMT - that way I know who ever
LC>>enters data, the timestamp is always correct, what ever their local time ;)

I am starting to get an impression that you reply to me without reading what I wrote. Once more: when I need to display current time for this machine, I don't need UTC.

But you do need UTC somewhere, as *all* date code (OS, applications) use UTC timestamps to calculate the current time.

And I have finally found the hole in what *I* am trying to do - as it was hidden in someone else's code ;) the javascript getTimezoneOffset() only gives the current time offset from UTC and requests for daylight saving information with it go back to at least 2001 :( So I will have to continue with asking a user where they are when they log in ;)

Stanislav - DISPLAYING local time only applies to the local site - when you are logging into an Australian machine the local time of that machine is not a lot of use. But *IF* I want to compare - say - bid times between an American and an Australian machine, then the ONLY time that can be used is UTC ?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to