<?php echo date('m/d/Y H:i:s', 1541843467); ?>
$beginOfDay = strtotime("today", $timestamp); $endOfDay = strtotime("tomorrow", $beginOfDay) - 1;