Our production platform technologies are these: PHP, MS SQL Sever, and IIS.
PHP is set to the timezone 'Pacific/Auckland' which is current +12:00 GMT/UTC.
When we retrieve dates from SQL Server, they are consistently 12 hours 'behind' what they should be, ie. SQL Server is storing and serving them as GMT dates, even though the time zone on the server itself is Pacific/Auckland too.
Is there a hidden sp function some where you can use to set the timezone? If this is not timezone related, please enlighten me!