Re: [PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Robin Vickery
On 06/11/2007, Neil Saunders <[EMAIL PROTECTED]> wrote: > Hi Robin, > > Thanks for your reply. The times are exactly synchronized. I'm looking > at the date section in the output of phpinfo(), and get the following: > > Development > Default timezoneEurope/London > > Production: > Default t

Re: [PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Neil Saunders
Hi Robin, Thanks for your reply. The times are exactly synchronized. I'm looking at the date section in the output of phpinfo(), and get the following: Development: D:\Documents and Settings\neil.saunders>date The current date is: 06/11/2007 D:\Documents and Settings\neil.saunders>time The curre

Re: [PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Robin Vickery
On 06/11/2007, Neil Saunders <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm experiencing some differences in in the return values of strftime > on Windows & Linux platforms on PHP 5.2.1. I've knocked up a test case > to demonstrate the bug: > > > $UNIX_TIME = mktime(0,0,0,5,31,2008); > echo "Time Ma

[PHP] stftime differences on Windows/Linux platforms

2007-11-06 Thread Neil Saunders
Hi All, I'm experiencing some differences in in the return values of strftime on Windows & Linux platforms on PHP 5.2.1. I've knocked up a test case to demonstrate the bug: OUTPUT DEVELOPMENT: C:\>php -e c:\test.php Time Made for 31-05-2008: 1212188400 Expected Time for 31-05-