It extracts the current hour.
<?php $hour = date( "h",time()); print ("$hour"); ?>
Download code...
Print this page