Php Timeestamp hasta la fecha
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
Heinz
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
$time = '2021-03-31 23:59:00';
strtotime($time);
$date = new DateTime();
echo $date->getTimestamp();
<?php
$date = new DateTime();
echo $date->format('U = Y-m-d H:i:s') . "\n";
$date->setTimestamp(1171502725);
echo $date->format('U = Y-m-d H:i:s') . "\n";
?>
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
//Output:
11/01/2022 09:51:07