Re: sunrise / sunsite / correcting for summer time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
  see the docs for the date() function.  'I' returns 0 or 1 indicating
Daylight Saving Time. However, it does this based on the settings for
your installation.  i.e. if your webserver is running on a host
configured to U.S. time zone, it'll give U.S. DST results.

  Note that, any method will only remain accurate until the goal posts
are moved next.  The U.S. for example changed their DST dates last year
(end date moved back).  Australia and other countries have also recently
changed.  In these cases, either your code or the language need to be
updated after such changes.
.
Niel

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux