I have an old Windows server 2003 where I'm running Wamp server that I'm running a PHP site on. The site is for listing cases for an IT deparment and fetches its content from a case handling system and one of the columns of the case list shows the date and time when the case was registered. The date and time is shown in the following format: yyyy-MM-dd H:mm:ss(ex: 2012-11-08 08:30:30). I just installed IIS and PHP on a Windows Server 2008 R2 because I don't want to use the old 2003 server and I don't want to use Wamp. I'm running an SQL server on a seperate machine, so I just copied the php files, both the site's and the php configuration files, from my 2003 server to the new server and the site works just fine, except for one thing - on the 2008 R2 with IIS, it shows the time in AM/PM format. Instead of 2012-11-08 08:30:30, it shows Nov 8 2012 8:30AM. Both servers are configured to show the yyyy-MM-dd H:mm:ss format in the region and location settings in Windows. It can't be because of PHP because everything is the same as in the old server. Is it because of IIS?
Screenshots:
http://s13.postimage.org/qx7n41t07/Screen_Shot004.jpg - site running on the 2003 server with Wamp
http://s17.postimage.org/s40v0ysr3/Screen_Shot005.jpg - site running on the 2008 R2 with IIS
Screenshots:
http://s13.postimage.org/qx7n41t07/Screen_Shot004.jpg - site running on the 2003 server with Wamp
http://s17.postimage.org/s40v0ysr3/Screen_Shot005.jpg - site running on the 2008 R2 with IIS