My LogiX is Undeniable.
// return if day is weekday var Weekday = function (chkDt) { if (chkDt.getDay() > 0 && chkDt.getDay() < 6) { //"Sorry, it's a weekday."; return true; } else { //"Hooray, it's a weekend!"; return false; } }; //Ef