- date: documentation ( source)
- strtotime: documentation ( source)
<?php
echo strtotime("2014.05.14");
echo date("Y-m-d",strtotime("2014.05.14"));
$timezone = "Europe/Berlin";
$date = new DateTime($dateStr, new DateTimeZone($timezone));
echo $date->format("Y-m-d");
?>