﻿
// jdate (c) copyright. 2001-2007. Benjamin Watson. All rights reserved.


function getCurrentDate() {

 mydate = new Date();

 myday  = mydate.getDay();

 mymonth = mydate.getMonth();

 myweekday = mydate.getDate();

 myyear = mydate.getYear();

 if (myyear < 1000) myyear += 1900;



 days   = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

 months = new Array ("January","February","March","April","May","June","July","August","September","October","November","December");



        return days[myday] + ", " + months[mymonth] + " " + myweekday + ", " + myyear;

}

