
Check ashevilleweather.com for the most up to date weather information in the High Country.
"); cal.document.writeln("<< "); cal.document.writeln("<"); cal.document.writeln(monthnames[curmonth-1] + " - " + curyear); cal.document.writeln(">"); cal.document.writeln(" >>"); cal.document.writeln("
"); cal.document.writeln("Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
"); ++dow; } // // adjust daysinmonths[] for leap year // if (((curyear % 4) == 0) && (((curyear % 100) != 0) || ((curyear % 400) == 0))) { daysinmonths[1] = 29; } else { daysinmonths[1] = 28; } // // output all of the days in the month // for (d=1; d<=daysinmonths[curmonth-1]; ++d) { if ((d == initialday) && (curmonth == initialmonth) && (curyear == initialyear)) { cal.document.writeln(" | " + d + " | "); } else { cal.document.writeln("" + d + " | "); } ++dow; if (dow > 7) { cal.document.writeln("||||
"); ++dow; } cal.document.writeln(" |