@SB65,

Awesome, thanks so much. Some reason I've never wrapped my head around JS dates. With your help my script ballooned up to what I wanted it to be:

Code:

$('#foo .scheduletable tbody tr').each(function(){
startdate= $(this).children('td:eq(0)').text();
startdate = startdate.replace(/[.]/g,"/");//replace dots with slashes
checkdate = new Date(startdate);//convert to a date
now = new Date();
now.setHours(0,0,0,0);
//alert(checkdate);
//alert(now);
if (checkdate < now){
$(this).remove();
}
});
gamedate = $('#foo .scheduletable tbody tr:eq(0)').children('td:eq(0)').text();
gamedate = gamedate.replace(/[.]/g,"/");
gamedate = new Date(gamedate);
now = new Date();
now.setHours(0,0,0,0);
if(gamedate <= now){
mensGameLeader = 'Today\'s Men\'s Game:';
} else {
mensGameLeader = 'Next Men\'s Game:';
}
//alert('gamedate= '+gamedate2+' :: now= '+now);
mensDate = $('#foo .scheduletable tbody tr:eq(0)').children('td:eq(0)').text();
mensTime = $('#foo .scheduletable tbody tr:eq(0)').children('td:eq(1)').text();
mensLocation = $('#foo .scheduletable tbody tr:eq(0)').children('td:eq(2)').text();
mensOpponent = $('#foo .scheduletable tbody tr:eq(0)').children('td:eq(3)').text();
if(mensDate != ''){
$('#nextGame').append('<div class="mensGame"><b>' + mensGameLeader + '</b> ' + mensDate + ' - ' + mensTime + ' @' + mensLocation + ' vs. ' + mensOpponent + '</div>');
$('#nextGame').animate({'width' : '940px'}, 600).delay(2000).queue(function(){
womensGame();
});
}

Then a similar function for the Woman's team.

Your guidance helped me doing:

Code:

now.setHours(0,0,0,0);
if(gamedate <= now){
mensGameLeader = 'Today\'s Men\'s Game:';
} else {
mensGameLeader = 'Next Men\'s Game:';
}

as well to indicate that a game was on the current day.

Pretty sweet, thanks again!