try this:
$date = "17-05-2002"; // set date variable
list($day,$month,$year) = explode("-",$date); // get the day, month and year from it
$time = mktime(0,0,0,$month,$day,$year); // make a new timestamp
print date("l",$time); // print the weekday
Hope this helps.