return day from date (javascript) ?

This works, it's hackish but it works.

date = new Date("11/24/2007"); date.toDateString().split(" ")[2];

Make sure you have the space between the " " in the split function

Merry xmas, Cam