On Mon, 6 Dec 2004, Steve Chamberlin wrote:

> The docs to PHP's date() function are unclear regarding the "I" format
> string. They say date("I", $timestamp) returns whether or not
> $timestamp is in daylight savings time: 1 if daylight savings time, 0
> otherwise.
>
> Trouble is, the docs don't explain how date() decides if a given
> timestamp is in daylight savings time. DST starts and ends on
> different dates in different political regions of the world. Does it
> use the DST rules for the United States? Does it matter whether or not
> the server is itself located in a region that observes daylight
> savings time?

It knows in which timezone the server is, and it will work with that.

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

Reply via email to