PHP Mulai Hari Zaman

$beginOfDay = strtotime("today", $timestamp);
$endOfDay   = strtotime("tomorrow", $beginOfDay) - 1;
Jolly Jackal