="12" && $hour<="18:00") { echo"Good Afternoon"; } else if($hour>"18" && $hour<="21") { echo"Good Evenning"; } else if($hour>"21") { echo"Good night"; } ?>