hi i have this simple script that displays the current date
<SCRIPT LANGUAGE=”JavaScript1.2″>
var months=new Array(13);
months[1]=”January”;
months[2]=”February”;
months[3]=”March”;
months[4]=”April”;
months[5]=”May”;
months[6]=”June”;
months[7]=”July”;
months[8]=”August”;
months[9]=”September”;
months[10]=”October”;
months[11]=”November”;
months[12]=”December”;
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
document.write(“” + lmonth + ” “);
document.write(date + “, ” + year + “”);
</SCRIPT>
i was wondering would it be possible for it to do something like this
if date=(08/08/03) document.write(‘Its My Birthday’);
if date=(25/12/03) document.write(‘Merry Christmas’)
so i can have a whole list of if date=(x) and they are displayed only if the current date matches one on the if dates
Thanks
Rich