%@ EnableSessionState=false Language=JavaScript %>
<%
check_cookie();
var server_date;
server_date = new Date();
// local_date = new Date(server_date.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
this_year = server_date.getUTCFullYear() + 0;
this_month = server_date.getUTCMonth() + 1;
today = server_date.getUTCDate() + 0;
now_hr = server_date.getUTCHours() + 0;
now_min = server_date.getUTCMinutes() + 0;
now_sec = server_date.getUTCSeconds() + 0;
ob = obliquity(this_year, this_month, today);
sundata_current = sun(this_year, this_month, today, now_hr, now_min, now_sec);
sunradec = ecltoequ(sundata_current[0], 0, ob);
if (sundata_current[0] >= 180)
earthlong = sundata_current[0] - 180;
else
earthlong = sundata_current[0] + 180;
conn = Server.CreateObject("ADODB.Connection");
conn.Open("DSN=admain");
moon_rs = Server.CreateObject("ADODB.RecordSet");
moon_sql = "select period, periapsisdist, apoapsisdist, eccentricity, inclination, meananomaly, meanmotion, semimajoraxis, longperifocus, longascnode from moon where dayofmonth(elemdate) = " + today + " and month(elemdate) = " + this_month + " and year(elemdate) = " + this_year;
moon_rs.Open(moon_sql, conn);
if (moon_rs.EOF)
{
Response.redirect("err_data.html");
}
else
{
moon_per = round(moon_rs.fields.item("period"), 2);
moon_perap = moon_rs.fields.item("periapsisdist") / 149597870.691;
moon_apoap = moon_rs.fields.item("apoapsisdist") / 149597870.691;
moon_ecc = moon_rs.fields.item("eccentricity") + 0;
moon_inc = moon_rs.fields.item("inclination") + 0;
moon_ma = moon_rs.fields.item("meananomaly");
moon_dm = moon_rs.fields.item("meanmotion") + 0;
moon_sma = moon_rs.fields.item("semimajoraxis") / 149597870.691;
moon_ap = moon_rs.fields.item("longperifocus") + 0;
moon_lan = moon_rs.fields.item("longascnode") + 0;
moon_data = moon(this_year, this_month, today, now_hr, now_min, today, moon_ecc, moon_inc, moon_ma, moon_dm, moon_sma, moon_ap, moon_lan, sundata_current[0]);
}
moonradec = ecltoequ(moon_data[0], moon_data[1], ob);
est_moonrs = riset(moonradec[0], moonradec[1], Number(Request.Cookies("UserData")("Latitude")));
est_local_moonrise = normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), est_moonrs[0]) + Number(Request.Cookies("UserData")("Timezone")));
est_local_mr_hms = hourstohms(est_local_moonrise);
moonrise_data = moon(this_year, this_month, today, est_local_mr_hms[0], est_local_mr_hms[1], today, moon_ecc, moon_inc, moon_ma, moon_dm, moon_sma, moon_ap, moon_lan, sundata_current[0]);
moonrise_radec = ecltoequ(moonrise_data[0], moonrise_data[1], ob);
moon_rise = riset(moonrise_radec[0], moonrise_radec[1], Number(Request.Cookies("UserData")("Latitude")));
est_local_moonset = normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), est_moonrs[2]) + Number(Request.Cookies("UserData")("Timezone")));
if (est_local_moonset < est_local_moonrise)
{ next_day = 1; }
else
{ next_day = 0; }
est_local_ms_hms = hourstohms(est_local_moonset);
moonset_data = moon(this_year, this_month, today + next_day, est_local_ms_hms[0], est_local_ms_hms[1], today, moon_ecc, moon_inc, moon_ma, moon_dm, moon_sma, moon_ap, moon_lan, sundata_current[0]);
moonset_radec = ecltoequ(moonset_data[0], moonset_data[1], ob);
moon_set = riset(moonset_radec[0], moonset_radec[1], Number(Request.Cookies("UserData")("Latitude")));
moon_rs.Close();
rs = Server.CreateObject("ADODB.RecordSet");
sql = "select max(lunation) as lunation from phase where now() > newmoon";
rs.Open(sql, conn);
current_lunation = Number(rs.fields.item("lunation"))
rs.Close();
rs = Server.CreateObject("ADODB.RecordSet");
sql = "select * from phase where lunation = " + String(current_lunation);
rs.Open(sql, conn);
cl_nm = new Date(String(rs.fields.item("newmoon")));
cl_fq = new Date(String(rs.fields.item("firstqtr")));
cl_fm = new Date(String(rs.fields.item("fullmoon")));
cl_lq = new Date(String(rs.fields.item("lastqtr")));
lcl_nm = new Date(cl_nm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lcl_fq = new Date(cl_fq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lcl_fm = new Date(cl_fm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lcl_lq = new Date(cl_lq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
rs.Close();
rs = Server.CreateObject("ADODB.RecordSet");
sql = "select * from phase where lunation = " + String(current_lunation - 1);
rs.Open(sql, conn);
ll_nm = new Date(String(rs.fields.item("newmoon")));
ll_fq = new Date(String(rs.fields.item("firstqtr")));
ll_fm = new Date(String(rs.fields.item("fullmoon")));
ll_lq = new Date(String(rs.fields.item("lastqtr")));
lll_nm = new Date(ll_nm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lll_fq = new Date(ll_fq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lll_fm = new Date(ll_fm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lll_lq = new Date(ll_lq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
rs.Close();
rs = Server.CreateObject("ADODB.RecordSet");
sql = "select * from phase where lunation = " + String(current_lunation + 1);
rs.Open(sql, conn);
nl_nm = new Date(String(rs.fields.item("newmoon")));
nl_fq = new Date(String(rs.fields.item("firstqtr")));
nl_fm = new Date(String(rs.fields.item("fullmoon")));
nl_lq = new Date(String(rs.fields.item("lastqtr")));
lnl_nm = new Date(nl_nm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lnl_fq = new Date(nl_fq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lnl_fm = new Date(nl_fm.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
lnl_lq = new Date(nl_lq.getTime() + (Number(Request.Cookies("UserData")("Timezone")) * 60*60*1000));
rs.Close();
sql = "select date_format(max(newmoon), '%b %e, %Y %H:%i:%s') as lnm from phase where newmoon < '" + this_year + "-" + this_month + "-" + today +
" " + now_hr + ":" + now_min + ":" + now_sec + "'";
rs.Open(sql, conn);
lnm_date = String(rs.fields.item("lnm"));
rs.Close();
conn.Close();
var ageofmoon = Date.parse(this_month + "-" + today + "-" + this_year + " " +
now_hr + ":" + now_min + ":" + now_sec) - Date.parse(lnm_date);
var moonimg = Math.round((ageofmoon / 2551392000) * 32) + 1;
if (moonimg < 1)
{ moonimg = 1 }
if (moonimg > 32)
{ moonimg = 1 }
%>
AstronomyDaily.com - The Moon
<% insert_menu(0); %>
<% title_block("the moon", "lunar phases | the sun | the planets"); %>
|
|
<%
sunr = Math.round((360 - sunradec[0]) * 1.538) + 14;
sund = Math.round((50 - sunradec[1]) * 1.85) + 17;
moonr = Math.round((360 - moonradec[0]) * 1.538) + 14;
moond = Math.round((50 - moonradec[1]) * 1.85) + 17;
Response.write(" \n");
%>
|
Sun
Moon
|
|
[ phase for any date (1901 - 2015) ] |
<% Response.write(" \n"); %>
|
Age: Illuminated Area: Phase Angle: Elongation: |
<%
ageofmoonhr = ageofmoon / (1000 * 60 * 60)
agedays = trunc(ageofmoonhr / 24);
agehms = hourstohms(ageofmoonhr % 24);
elong = moon_data[4];
pa = 180 - elong;
phase = 100 * ((1 + Math.cos(degtorad(pa))) / 2);
Response.write(agedays + "d " + agehms[0] + "h " + agehms[1] + "m " + Math.round(agehms[2]) + "s ");
Response.write(round(phase, 2) + "% ");
Response.write(round(pa, 2) + "° ");
Response.write(round(elong, 2) + "°");
%>
|
|
|
| |
new
 |
first qtr
 |
full
 |
last qtr
 |
previous
(lunation <% Response.write(current_lunation - 2821); %>)
|
|
UTC
Local
|
current
(lunation <% Response.write(current_lunation - 2820); %>)
|
|
UTC
Local
|
next
(lunation <% Response.write(current_lunation - 2819); %>)
|
|
UTC
Local
|
|
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(ll_nm.getDate() + " " + monthnames[ll_nm.getMonth()] + " " +
leadingzero(ll_nm.getHours()) + ":" + leadingzero(ll_nm.getMinutes()) + " " +
lll_nm.getDate() + " " + monthnames[lll_nm.getMonth()] + " " +
leadingzero(lll_nm.getHours()) + ":" + leadingzero(lll_nm.getMinutes()));
}
else
{
lll_nm12hr = to12(lll_nm.getHours());
Response.write(ll_nm.getDate() + " " + monthnames[ll_nm.getMonth()] + " " +
leadingzero(ll_nm.getHours()) + ":" + leadingzero(ll_nm.getMinutes()) + " " +
lll_nm.getDate() + " " + monthnames[lll_nm.getMonth()] + " " +
lll_nm12hr[0] + ":" + leadingzero(lll_nm.getMinutes()) + " " + lll_nm12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(ll_fq.getDate() + " " + monthnames[ll_fq.getMonth()] + " " +
leadingzero(ll_fq.getHours()) + ":" + leadingzero(ll_fq.getMinutes()) + " " +
lll_fq.getDate() + " " + monthnames[lll_fq.getMonth()] + " " +
leadingzero(lll_fq.getHours()) + ":" + leadingzero(lll_fq.getMinutes()));
}
else
{
lll_fq12hr = to12(lll_fq.getHours());
Response.write(ll_fq.getDate() + " " + monthnames[ll_fq.getMonth()] + " " +
leadingzero(ll_fq.getHours()) + ":" + leadingzero(ll_fq.getMinutes()) + " " +
lll_fq.getDate() + " " + monthnames[lll_fq.getMonth()] + " " +
lll_fq12hr[0] + ":" + leadingzero(lll_fq.getMinutes()) + " " + lll_fq12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(ll_fm.getDate() + " " + monthnames[ll_fm.getMonth()] + " " +
leadingzero(ll_fm.getHours()) + ":" + leadingzero(ll_fm.getMinutes()) + " " +
lll_fm.getDate() + " " + monthnames[lll_fm.getMonth()] + " " +
leadingzero(lll_fm.getHours()) + ":" + leadingzero(lll_fm.getMinutes()));
}
else
{
lll_fm12hr = to12(lll_fm.getHours());
Response.write(ll_fm.getDate() + " " + monthnames[ll_fm.getMonth()] + " " +
leadingzero(ll_fm.getHours()) + ":" + leadingzero(ll_fm.getMinutes()) + " " +
lll_fm.getDate() + " " + monthnames[lll_fm.getMonth()] + " " +
lll_fm12hr[0] + ":" + leadingzero(lll_fm.getMinutes()) + " " + lll_fm12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(ll_lq.getDate() + " " + monthnames[ll_lq.getMonth()] + " " +
leadingzero(ll_lq.getHours()) + ":" + leadingzero(ll_lq.getMinutes()) + " " +
lll_lq.getDate() + " " + monthnames[lll_lq.getMonth()] + " " +
leadingzero(lll_lq.getHours()) + ":" + leadingzero(lll_lq.getMinutes()));
}
else
{
lll_lq12hr = to12(lll_lq.getHours());
Response.write(ll_lq.getDate() + " " + monthnames[ll_lq.getMonth()] + " " +
leadingzero(ll_lq.getHours()) + ":" + leadingzero(ll_lq.getMinutes()) + " " +
lll_lq.getDate() + " " + monthnames[lll_lq.getMonth()] + " " +
lll_lq12hr[0] + ":" + leadingzero(lll_lq.getMinutes()) + " " + lll_lq12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(cl_nm.getDate() + " " + monthnames[cl_nm.getMonth()] + " " +
leadingzero(cl_nm.getHours()) + ":" + leadingzero(cl_nm.getMinutes()) + " " +
lcl_nm.getDate() + " " + monthnames[lcl_nm.getMonth()] + " " +
leadingzero(lcl_nm.getHours()) + ":" + leadingzero(lcl_nm.getMinutes()));
}
else
{
lcl_nm12hr = to12(lcl_nm.getHours());
Response.write(cl_nm.getDate() + " " + monthnames[cl_nm.getMonth()] + " " +
leadingzero(cl_nm.getHours()) + ":" + leadingzero(cl_nm.getMinutes()) + " " +
lcl_nm.getDate() + " " + monthnames[lcl_nm.getMonth()] + " " +
lcl_nm12hr[0] + ":" + leadingzero(lcl_nm.getMinutes()) + " " + lcl_nm12hr[1]);
}
%>
|
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(cl_fq.getDate() + " " + monthnames[cl_fq.getMonth()] + " " +
leadingzero(cl_fq.getHours()) + ":" + leadingzero(cl_fq.getMinutes()) + " " +
lcl_fq.getDate() + " " + monthnames[lcl_fq.getMonth()] + " " +
leadingzero(lcl_fq.getHours()) + ":" + leadingzero(lcl_fq.getMinutes()));
}
else
{
lcl_fq12hr = to12(lcl_fq.getHours());
Response.write(cl_fq.getDate() + " " + monthnames[cl_fq.getMonth()] + " " +
leadingzero(cl_fq.getHours()) + ":" + leadingzero(cl_fq.getMinutes()) + " " +
lcl_fq.getDate() + " " + monthnames[lcl_fq.getMonth()] + " " +
lcl_fq12hr[0] + ":" + leadingzero(lcl_fq.getMinutes()) + " " + lcl_fq12hr[1]);
}
%>
|
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(cl_fm.getDate() + " " + monthnames[cl_fm.getMonth()] + " " +
leadingzero(cl_fm.getHours()) + ":" + leadingzero(cl_fm.getMinutes()) + " " +
lcl_fm.getDate() + " " + monthnames[lcl_fm.getMonth()] + " " +
leadingzero(lcl_fm.getHours()) + ":" + leadingzero(lcl_fm.getMinutes()));
}
else
{
lcl_fm12hr = to12(lcl_fm.getHours());
Response.write(cl_fm.getDate() + " " + monthnames[cl_fm.getMonth()] + " " +
leadingzero(cl_fm.getHours()) + ":" + leadingzero(cl_fm.getMinutes()) + " " +
lcl_fm.getDate() + " " + monthnames[lcl_fm.getMonth()] + " " +
lcl_fm12hr[0] + ":" + leadingzero(lcl_fm.getMinutes()) + " " + lcl_fm12hr[1]);
}
%>
|
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(cl_lq.getDate() + " " + monthnames[cl_lq.getMonth()] + " " +
leadingzero(cl_lq.getHours()) + ":" + leadingzero(cl_lq.getMinutes()) + " " +
lcl_lq.getDate() + " " + monthnames[lcl_lq.getMonth()] + " " +
leadingzero(lcl_lq.getHours()) + ":" + leadingzero(lcl_lq.getMinutes()));
}
else
{
lcl_lq12hr = to12(lcl_lq.getHours());
Response.write(cl_lq.getDate() + " " + monthnames[cl_lq.getMonth()] + " " +
leadingzero(cl_lq.getHours()) + ":" + leadingzero(cl_lq.getMinutes()) + " " +
lcl_lq.getDate() + " " + monthnames[lcl_lq.getMonth()] + " " +
lcl_lq12hr[0] + ":" + leadingzero(lcl_lq.getMinutes()) + " " + lcl_lq12hr[1]);
}
%>
|
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(nl_nm.getDate() + " " + monthnames[nl_nm.getMonth()] + " " +
leadingzero(nl_nm.getHours()) + ":" + leadingzero(nl_nm.getMinutes()) + " " +
lnl_nm.getDate() + " " + monthnames[lnl_nm.getMonth()] + " " +
leadingzero(lnl_nm.getHours()) + ":" + leadingzero(lnl_nm.getMinutes()));
}
else
{
lnl_nm12hr = to12(lnl_nm.getHours());
Response.write(nl_nm.getDate() + " " + monthnames[nl_nm.getMonth()] + " " +
leadingzero(nl_nm.getHours()) + ":" + leadingzero(nl_nm.getMinutes()) + " " +
lnl_nm.getDate() + " " + monthnames[lnl_nm.getMonth()] + " " +
lnl_nm12hr[0] + ":" + leadingzero(lnl_nm.getMinutes()) + " " + lnl_nm12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(nl_fq.getDate() + " " + monthnames[nl_fq.getMonth()] + " " +
leadingzero(nl_fq.getHours()) + ":" + leadingzero(nl_fq.getMinutes()) + " " +
lnl_fq.getDate() + " " + monthnames[lnl_fq.getMonth()] + " " +
leadingzero(lnl_fq.getHours()) + ":" + leadingzero(lnl_fq.getMinutes()));
}
else
{
lnl_fq12hr = to12(lnl_fq.getHours());
Response.write(nl_fq.getDate() + " " + monthnames[nl_fq.getMonth()] + " " +
leadingzero(nl_fq.getHours()) + ":" + leadingzero(nl_fq.getMinutes()) + " " +
lnl_fq.getDate() + " " + monthnames[lnl_fq.getMonth()] + " " +
lnl_fq12hr[0] + ":" + leadingzero(lnl_fq.getMinutes()) + " " + lnl_fq12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(nl_fm.getDate() + " " + monthnames[nl_fm.getMonth()] + " " +
leadingzero(nl_fm.getHours()) + ":" + leadingzero(nl_fm.getMinutes()) + " " +
lnl_fm.getDate() + " " + monthnames[lnl_fm.getMonth()] + " " +
leadingzero(lnl_fm.getHours()) + ":" + leadingzero(lnl_fm.getMinutes()));
}
else
{
lnl_fm12hr = to12(lnl_fm.getHours());
Response.write(nl_fm.getDate() + " " + monthnames[nl_fm.getMonth()] + " " +
leadingzero(nl_fm.getHours()) + ":" + leadingzero(nl_fm.getMinutes()) + " " +
lnl_fm.getDate() + " " + monthnames[lnl_fm.getMonth()] + " " +
lnl_fm12hr[0] + ":" + leadingzero(lnl_fm.getMinutes()) + " " + lnl_fm12hr[1]);
}
%> |
<%
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(nl_lq.getDate() + " " + monthnames[nl_lq.getMonth()] + " " +
leadingzero(nl_lq.getHours()) + ":" + leadingzero(nl_lq.getMinutes()) + " " +
lnl_lq.getDate() + " " + monthnames[lnl_lq.getMonth()] + " " +
leadingzero(lnl_lq.getHours()) + ":" + leadingzero(lnl_lq.getMinutes()));
}
else
{
lnl_lq12hr = to12(lnl_lq.getHours());
Response.write(nl_lq.getDate() + " " + monthnames[nl_lq.getMonth()] + " " +
leadingzero(nl_lq.getHours()) + ":" + leadingzero(nl_lq.getMinutes()) + " " +
lnl_lq.getDate() + " " + monthnames[lnl_lq.getMonth()] + " " +
lnl_lq12hr[0] + ":" + leadingzero(lnl_lq.getMinutes()) + " " + lnl_lq12hr[1]);
}
%> |
|
|
|
| |
|
|
|
Moonrise:
Azimuth: |
<%
if (moon_rise[0] == 99)
Response.write(" Does not set");
else if (moon_rise[0] == -99)
Response.write(" Does not rise");
else
{
moontrise = hourstohms(normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), moon_rise[0]) + Number(Request.Cookies("UserData")("Timezone"))));
moontrise_gmt = hourstohms(normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), moon_rise[0])));
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(leadingzero(moontrise[0]) + ":" + leadingzero(moontrise[1]) + ":" + leadingzero(trunc(moontrise[2])) + " Local ");
}
else
{
moontrise12hr = to12(moontrise[0]);
Response.write(moontrise12hr[0] + ":" + leadingzero(moontrise[1]) + ":" + leadingzero(trunc(moontrise[2])) + " " + moontrise12hr[1] + " Local ");
}
Response.write(moontrise_gmt[0] + ":" + leadingzero(moontrise_gmt[1]) + ":" + leadingzero(trunc(moontrise_gmt[2])) + " UTC ");
Response.write(degtodmsstr(moon_rise[1]));
}
%>
|
Moonset:
Azimuth: |
<%
if (moon_set[0] == 99)
Response.write(" Does not set");
else if (moon_set[0] == -99)
Response.write(" Does not rise");
else
{
moontset = hourstohms(normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), moon_set[2]) + Number(Request.Cookies("UserData")("Timezone"))));
moontset_gmt = hourstohms(normalize24(lsttogmt(this_year, this_month, today,
Number(Request.Cookies("UserData")("Longitude")), moon_set[2])));
if (Request.Cookies("UserData")("TimeFormat") == 24)
{
Response.write(leadingzero(moontset[0]) + ":" + leadingzero(moontset[1]) + ":" + leadingzero(trunc(moontset[2])) + " Local ");
}
else
{
moontset12hr = to12(moontset[0]);
Response.write(moontset12hr[0] + ":" + leadingzero(moontset[1]) + ":" + leadingzero(trunc(moontset[2])) + " " + moontset12hr[1] + " Local ");
}
Response.write(moontset_gmt[0] + ":" + leadingzero(moontset_gmt[1]) + ":" + leadingzero(trunc(moontset_gmt[2])) + " UTC ");
Response.write(degtodmsstr(moon_set[3]));
}
%>
|
|
|
Mass: |
7.35 x 1022 kg
1.62 x 1023 lb |
Orbital Period:
Semi-major Axis:
Perigee Distance:
Apogee Distance:
Eccentricity:
Inclination:
Mean Motion:
Argument of Perigee:
Longitude of Ascending Node: |
<%
Response.write(moon_per + " days \n");
Response.write(comma(round(moon_sma * 149597870.691, 2)) + " km \n");
Response.write(comma(round(moon_sma * 92955628.85, 2)) + " mi \n");
Response.write(round(moon_sma, 4) + " au \n");
Response.write(round(moon_perap, 4) + " au \n");
Response.write(round(moon_apoap, 4) + " au \n");
Response.write(round(moon_ecc, 3) + " \n");
Response.write(degtodmsstr(moon_inc) + " \n");
Response.write(degtodmsstr(moon_dm) + " per day \n");
Response.write(degtodmsstr(moon_ap) + " \n");
Response.write(degtodmsstr(moon_lan) + " \n");
%>
|
| Density: |
3.34 g/cm3 |
| Diameter: |
3476 km 2160 mi |
| Rotational Period: |
27.3 days |
| Albedo: |
0.12 |
| Average Temperature: |
-20º C -4º F |
|
|
|
<% insert_footer(); %>
|
|