DateTime et horodat
$dateTime = new DateTime('2016-05-20');
echo $dateTime->getTimestamp();
# Output: 1271802325
Darkvent
$dateTime = new DateTime('2016-05-20');
echo $dateTime->getTimestamp();
# Output: 1271802325