Try this:
Code: 
<script type="text/javascript">
var now=new Date()

//Enter the Anniversary's MONTH (1-12) and DAY (1-31):
var then=new Date(now.getFullYear(), 8, 18)

var th = now.getFullYear() - 2000 // 11th anniversary on 2011

var monthtext=new Array("Jan","Feb","Mar","April","May","June","July","Aug","Sep","Oct","Nov","Dec")
then.setMonth(then.getMonth()-1) //change to 0-11 month format
var showdate="("+monthtext[then.getMonth()]+" "+then.getDate()+")" //show date of Anniversary

var one_day=1000*60*60*24
var calculatediff=""

calculatediff=Math.ceil((then.getTime()-now.getTime())/(one_day))
if (calculatediff<0){
var nextyearnow=new Date()
nextyearnow.setFullYear(now.getFullYear()+1)
calculatediff=Math.ceil((nextyearnow.getTime()-now.getTime())/(one_day)+calculatediff)
th += 1
}

var beforeAnniversaryText="day's Until " + th + "th Anniversary"
var onAnniversarytext="Today is Anniversary. Hooray :D"
//Display message accordingly
var pluraldayornot=(calculatediff==1)? "day" : "days"
if (calculatediff>0)
    document.write("<b>"+calculatediff+" "+pluraldayornot+" "+beforeAnniversaryText+" "+showdate+"!</b>")
else if (calculatediff==0)
    document.write("<b>"+onAnniversarytext+" "+showdate+"!</b>")

</script>
johnburn Reviewed by johnburn on . Help with Java Script I have the following java script for dispalying how long our gaming clan has been around. What it does is count downs the days until a sertain date, which is our Anniversary. What I would like to do is modify this code to update the year ("August 18, 2010") and restart the count and update the number of years or the Anniversary with out having to do it manually . <SCRIPT LANGUAGE = "JavaScript"> var now = new Date(); // set this value to the countdown date. var then = new Date("August 18, Rating: 5