Javascripts > Javascript Clocks > Dates Galore
Script Title: Dates Galore
Description: This script displays the Day, Month, and Year; but with a certain flare. It shows on the status bar.
Example: Available
Copy the following code into your <HEAD></HEAD> tags.<script language="javascript"> <!--This script belongs to Blade: Aaron Connelly--> <!--All Rights reserved 2001--> <!--For non-commercial use only. Other contact at MAUWDIB@aol.com--> <!--Begin var today = new Date() var day = today.getDay() var date = today.getDate() var mon = today.getMonth() var year = today.getYear() var D var Mon var Dat if(day==0){ Dat="Sunday" } if(day==1){ Dat="Monday" } if(day==2){ Dat="Tuesday" } if(day==3){ Dat="Wednesday" } if(day==4){ Dat="Thursday" } if(day==5){ Dat="Friday" } if(day==6){ Dat="Saturday" } if(mon==0){ Mon="January" } if(mon==1){ Mon="February" } if(mon==2){ Mon="March" } if(mon==3){ Mon="April" } if(mon==4){ Mon="May" } if(mon==5){ Mon="June" } if(mon==6){ Mon="July" } if(mon==7){ Mon="August" } if(mon==8){ Mon="September" } if(mon==9){ Mon="October" } if(mon==10){ Mon="November" } if(mon==11){ Mon="December" } if(date==1){ D="1st" } if(date==2){ D="2nd" } if(date==3){ D="3rd" } if(date==4){ D="4th" } if(date==5){ D="5th" } if(date==6){ D="6th" } if(date==7){ D="7th" } if(date==8){ D="8th" } if(date==9){ D="9th" } if(date==10){ D="10th" } if(date==11){ D="11th" } if(date==12){ D="12th" } if(date==13){ D="13th" } if(date==14){ D="14th" } if(date==15){ D="15th" } if(date==16){ D="16th" } if(date==17){ D="17th" } if(date==18){ D="18th" } if(date==19){ D="19th" } if(date==20){ D="20th" } if(date==21){ D="21st" } if(date==22){ D="22nd" } if(date==23){ D="23rd" } if(date==24){ D="24th" } if(date==25){ D="25th" } if(date==26){ D="26th" } if(date==27){ D="27th" } if(date==28){ D="28th" } if(date==29){ D="29th" } if(date==30){ D="30th" } if(date==31){ D="31st" } var Writedate = " It's " + Mon + ", the " + D + " " + year + "-----" + Dat window.status=Writedate //end--> </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email