Check for more details in the FEARS and PHOBIAS chapter of NUMBERS- The Key to the Universe! When is FRIDAY 13th? 35165

Have YOU got PARASKAVEDEKATRIAPHOBIA? If so then you have a fear of Friday 13th! Happily help is at hand. Use this calculator to find when the Friday 13ths are in any years you're worried about. var new_Date=new Date() //var DOW=new_Date.getDay()+1 var DOM=new_Date.getDate() //var Month=new_Date.getMonth()+1 var Year=new_Date.getFullYear() var LongMonth = new Array("January","February","March","April","May","June","July","August","September","October","November","December") var LongDay = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") var setTimer = 5000; function find13th() { var Start = startyear.value var End = endyear.value var TooMuch = End-Start //alert(TooMuch) if (confirm("Are you sure you're ready for this? And if you've put in LOADS of years, it may take a long time to display the results.")) if (End < Start) //if end<start alert , else alert("Sorry, the ending year must be greater than or equal to the beginning year..") else { //allow dates and continue var BasicHTML = "<center><u>Results!!" for (YearTest=Start;YearTest<=End;YearTest++) { if (MonthSelect.value==20) { for (MonthTest=0;MonthTest<=11;MonthTest++) { var TestDate = new Date(YearTest,MonthTest,13) if (TestDate.getDay()==5) BasicHTML = BasicHTML+"<br>"+LongMonth[MonthTest]+" "+TestDate.getDate()+", "+YearTest } } else { var TestDate = new Date(YearTest,MonthSelect.value,13) if (TestDate.getDay()==5) BasicHTML = BasicHTML+"<br>"+LongMonth[MonthSelect.value]+" "+TestDate.getDate()+", "+YearTest } } document.all["InternalDiv"].innerHTML = BasicHTML; } else { alert("Please make the years closer together..") } } function clearResults() { var BasicHTML = "<center>Results will be posted here!!" document.all["InternalDiv"].innerHTML = BasicHTML; } Enter beginning year: Enter ending year: You can also pick a particular month: None Preferred January February March April May June July August September October November December This essential little gadget was invented by Donnie Brewer and we found it atThe JavaScript Source The Murderous Maths Home Page 2q5rl