#date_default_timezone_set("America/Chicago");
require '../wx/wx_get_data.php';
$sun_info = date_sun_info(time(), 30.5, -86.5);
echo "";
echo " " . date("D, j F Y h:i:s A", $curr_data["TIME"]) . "\n";
#if (isset($curr_data["TEMP_F"])) echo " Temperature : " . $curr_data["TEMP_F"] . "°\n";
#if (isset($curr_data["BARO"])) echo " Altimeter : " . $curr_data["BARO"] . "\"\n";
#if (isset($curr_data["HUM_PCT"])) echo " Humidity : " . $curr_data["HUM_PCT"] . "%\n";
#if (isset($curr_data["WIND_DIR"])) echo " Wind : " . $curr_data["WIND_DIR"] . "° @ " . round($curr_data["WIND_SPEED"]) . " kts peak " . round($curr_data["WIND_SPEED_HI"]) . " kts\n";
#if (isset($curr_data["DENS_ALT"])) echo " Density Alt : " . $curr_data["DENS_ALT"] . " ft\n";
#echo " Sunrise : " . date("h:i A", $sun_info['sunrise']) . "\n";
#echo " Sunset : " . date("h:i A", $sun_info['sunset']) . "\n";
echo "
";