Timestamp PHP à ce jour
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
Heinz
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
<?php
$timestamp=1333699439;
echo gmdate("Y-m-d\TH:i:s\Z", $timestamp);
?>
<?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";
?>
$unix_timestap = microtime(true);
$date_time = gmdate("Y-m-d\TH:i:s\Z", (int)$unix_timestap);