var testDate = new Date(); testDate.setMonth(9); testDate.setFullYear(2006); testDate.setDate(1); document.write('Day : ' + testDate.getDay() + ' - Month : ' + testDate.getMonth() + ' - Year : ' + testDate.getYear());