DateTime und Timestemps

$dateTime = new DateTime('2016-05-20');
echo $dateTime->getTimestamp();

# Output: 1271802325
Darkvent