I have a string "2013-10-09 00:00:00" and I use the code below to change it to a timestamp
date_default_timezone_set($timeZone);
$timeStamp = strtotime("2013-10-09 00:00:00"); //echos 1381269600
When I do
date_default_timezone_set($timeZone);
date("Y-m-d H:m",$timeStamp);
I get 2013-10-09 00:10:00. This is completely strange. Why do I get this 10 minutes difference?