Derick Rethans wrote:
I'm coming in late here - but being in the middle of trying to
configure a system to provide calendars across time and daylight
saving zones, I've been deep in this! I have no problem with the time
AT THE SERVER! What I need to know is what daylight saving zone the
client is in so I can build the correct calendar for March/April or
October/November. *ALL* the data on the server is stored UTC so I
could not care less which zone it is in :) The ONLY solution I
currently have is to get the client to set their time/daylight zone in
their profile on the server ?
I've no clue what you mean here... sorry. Try to explain a bit better
what you want to do. Do you want to render events' dates with the
correct timezone while your data is in UTC (as Unix timestamp?)?
Yes
Client currently supplies tz_offset, but that does not identify the
daylight saving offset so you can not show the correct shifts of
calendar times for the 'other' daylight offset :(
The FIRST problem I had was STOPPING the display from being offset by
the SERVER daylight saving setting!
There is absolutely no reason that date() should supply anything other
than the current UTC time. It is the only thing that is actually RIGHT!
--
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