php function timestamp to date and time code example
Example 1: php timestamp to date
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
Example 2: get day from date php
// Prints the day
echo date("l") . "<br>";
<?php
echo date('m/d/Y H:i:s', 1541843467);
?>
// Prints the day
echo date("l") . "<br>";