Do tej pory php znacznik czasu php
<?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);
$currentTime = DateTime::createFromFormat( 'U', $timestamp );
$date = new DateTime();
echo $date->getTimestamp();
$ts = 1171502725;
$date = new DateTime("@$ts");