Script Central
Pages
Home
Make Money Online
Affilate Sites
Be One of Us
Monday, April 12, 2010
Current Full Date
Description:
A script that displays the current date , in the format of "
Sunday October 28, 1987"
Example:
Tuesday, April 13, 2010
Directions
Simply insert the below into the section of the page that will show the date:
</p><p> <!-- HTML codes by charzieerazcommunity.tk --></p><p><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; white-space: pre-wrap; "><script> /*Current date script credit: JavaScript Kit (www.javascriptkit.com) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December") document.write("<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>") </script> <p align="center"><font face="arial, helvetica" size="-2">This free script provided by</font><br> <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p></span></p><p>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment