set dead time using date() php code example
Example 1: php timestamp to date
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
Example 2: date in php
/**
* Its always best to use a datetime object
*/
$dateTime = new \DateTime();
/**
* You can get the string by using format
*/
$dateTime->format('Y-m-d H:i:s');