Is it possible to determine if a date is a Saturday or Sunday using JavaScript?
Do you have the code for this?
You can simplify @Andrew Moore 's test even further:
if(!(myDate.getDay() % 6)) alert('Weekend!');
(Love that modulo function!)