INFORMATION | AFTER CONFERENCE | CONTACTS | NEWS & ANNOUNCEMENT |
SITE MAP
Presented CONCERTS
|
PAPER PRESENTATIONS
WEATHER IN HAVANA
\n";
} else {
$weathcont = fread ($wfile , 1024);
ereg (" ([0-9][0-9])/([0-9][0-9]) " , $weathcont, $reg);
$far = 32 + ( $reg[1] / (5.0 / 9.0));
//eliminato ce frega 'na mazza del dew point
$far_dew = 32 + ( $reg[2] / (5.0 / 9.0));
$data = date("d F");
$ora = (date("H")-6);
echo "
Temperature in Habana, on $data, at ";
if ($ora < 0){
$timezone = ($ora + 24);
echo $timezone;
}else{
echo $ora ;
}
echo " is:
$reg[1] C ($far F)";
fclose($wfile);
}
?>