PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php $t = date("H"); echo "The hour (of the server) is " . $t; echo ", and will give the following message:
"; if ($t < "10") { echo "Have a good afternoon!"; } elseif ($t < "20") { echo "Have a nice day!"; } else { echo "Have a good evening!"; } ?>