" . date("d-m-Y", $tanggal ) . ""; date_default_timezone_set("Asia/Jakarta"); $jam = date ("H:i:s"); echo " | Pukul : " . $jam . " " ." "; $a = date ("H"); if (($a>=6) && ($a<=11)) { echo " , Selamat Pagi !! "; }else if(($a>=11) && ($a<=15)){ echo " , Selamat Pagi !! "; }elseif(($a>15) && ($a<=18)){ echo ", Selamat Siang !!"; }else{ echo ", Selamat Malam "; } ?>