Im having big problems - I have a script that runs on over 250 Servers, all are running NT4. here is the script:
[php] function last_sunday() { return gmdate("Y-m-d", strtotime("Last Sunday")); } echo "Last Sunday is returned as: ".last_sunday(); [/php] Some servers have 'automatically adjust clock for daylight saving changes' switched on, some have this off - (im in the UK GMT +0). With daylight saving on the above script returns: 2003-03-29 With daylight saving off the above script returns: 2003-03-30 Im puzzled with this one - any ideas? -Stuart |-----------------------------| |- www.php-editors.com | |- php programming contests | |- php tool reviews | |- php everything else | |-----------------------------| -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php