I would like show hour time from Fort de France, Martinique.(utc-4)
<?php
$hour = date("G");
readfile("./UV/".$hour.".php");
// it's 4hours show 4.php
?>
Could you help me ?
Im not sure if this is a problem or something, perhaps you need guidance.
IMO you might want to transform the timezone date() if you are not getting the hour you want. An example:
date_default_timezone_set("America/Argentina/Mendoza");
$hour = date("G");
echo $hour;
More info in http://php.net/manual/en/timezones.php
Second, you might be looking for include() instead of readfile().