<!-- Hide JavaScript Language
// Local variables and array defs.
var phrase = "";

today = new Date();
//then = new Date(2001,10,06,09,30,00);
then = new Date("October 6, 2006 09:00:00 EST");
//then = new Date("Sat Oct 06 9:30:00 GMT-0500 (Eastern Standard Time) 2002");

//document.write("Today's date is: " + today + "<br>")
//document.write("Start date is: " + then + "<br>")

now = today - 0
//document.write("Now = " + now + "<br>")
thentest = then - 0
//document.write("Then = " + thentest + "<br>")
dif = (then - today)
//compensate for GMT - EDT
dif = dif + (4 * 1000 * 60 * 60)
//document.write("Diff = " + dif + "<p>")

difdate = new Date(dif)
//document.write("Diffdate = " + difdate + "<p>")

document.write("<p>")
sec = difdate.getSeconds()
min = difdate.getMinutes()
hou = difdate.getHours()
day = difdate.getDate() - 1
mon = difdate.getMonth()
//if (mon < 0 ) then; {
if ((mon == 0) || (mon == (-1))); {
 //document.write("mon - " + mon + "<br>")
 mon = mon
}
//document.write("test mode<br>")
document.write(mon + " months " + day + " days " + hou + " hours " + min + " minutes " + sec + " seconds")

document.write("<br>")
absday = (mon * 30.416666666666666666666666666667) + (day)
document.write("or " + Math.round(absday) + " days " + hou + " hours " + min + " minutes " + sec + " seconds")

document.write("<br>")
abshou = (Math.round(absday) * 24) + hou
document.write("or " + abshou + " hours " + min + " minutes " + sec + " seconds")

document.write("<br>")
absmin = (abshou * 60) + min
document.write("or " + absmin + " minutes " + sec + " seconds")

document.write("<br>")
abssec = (absmin * 60) + sec
document.write("or " + abssec + " seconds")

// End JavaScript -->