|
INSTRUCTIONS: ♦ Choisissez la date (obligatoire) ♦ Choisissez les coordonnes si necessaire,heure d'été et d'hiver, fuseau horaire OU la ville puis cliquez sur Calculer / Sélectionner Ville.
|
// geo data preparation
// V1.0.9
//echo $D;
if ( $FirstRun1 == 1){
$R = $R1;
$M = $M1;
$D = $D1;
// $FirstRun1 = 0;
// echo $D1;
};
//$Date_format1 = $params->get('Date_format');
if ($Dstaf2 == 1){
// $dat = date($Date_format);
$Dst2 = get_dst_for_now($params->get('dston2'), $params->get('dstoff2'), $Date_format, $dat);
//echo $Dst2;
//echo $dat;
//Echo $Dston2;
//echo $Dstoff2;
//echo $Date_format;
};
if ($Dstaf3 == 1){
$Dst3 = get_dst_for_now($params->get('dston3'), $params->get('dstoff3'), $Date_format, $dat);
};
$go_loc01 = new cl_location($city, $R, $M, $D, $lat, $long, 0, $dst, $tz, 0);
$dl01 = $go_loc01->get_day_length();
$Wsch01 = $go_loc01->get_sunrise() ;
$Zach01 = $go_loc01->get_sunset();
$gv_polar_day = $go_loc01->get_polar_day();
$go_loc02 = new cl_location($city2, $R2, $M2, $D2, $lat2, $long2, 0, $Dst2, $tz2, 0);
$dl02 = $go_loc02->get_day_length();
$Wsch02 = $go_loc02->get_sunrise() ;
$Zach02 = $go_loc02->get_sunset();
$gv_polar_day02 = $go_loc02->get_polar_day();
$go_loc03 = new cl_location($city3, $R3, $M3, $D3, $lat3, $long3, 0, $Dst3, $tz3, 0);
$dl03 = $go_loc03->get_day_length();
$Wsch03 = $go_loc03->get_sunrise() ;
$Zach03 = $go_loc03->get_sunset();
$gv_polar_day03 = $go_loc03->get_polar_day();
?> Date: 01/01/1970 Latitude: 44.63 Longitude: -0.63 Ville: France-Gironde-Saucats Fuseau horaire: 1 Hémisphère: N Lever du soleil: 0:00 Coucher du soleil: 0:00 Durée de la journée: 0:00:00 L'heure actuelle: |