This code ends up in two ways depending in what server it is run:
date("H:i:s d-m-Y", strtotime('1492-10-12T00:00:00+00:00'))
WebServer 1(correct result): 00:00:00 12-10-1492
WebSite in Azure: 16:00:00 31-12-1969
I have no idea why this is happening. Does it have something to do with the php setup being different on the two servers, or maybe timezones or dateformat being different on the servers? How do I fix this so that I get the same result on both servers?