Re: [PHP-DB] sunrise / sunsite / correcting for summer time

2007-03-27 Thread Malcolm N
On Sun, 25 Mar 2007 23:15:21 +0100, Niel Archer [EMAIL PROTECTED] wrote: 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

[PHP-DB] sunrise / sunsite / correcting for summer time

2007-03-25 Thread Malcolm N
I've found how to display sunrise and sunset at a given location, but can't find out how to get php to automatically allow for summer time here in Europe ?. This happened today - but I know the USA did it early this year - so can you preset the date to do it ?. echo ', sunrise time : '

Re: [PHP-DB] sunrise / sunsite / correcting for summer time

2007-03-25 Thread Niel Archer
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