Date Display
If you need to display the current date on your page, we've got the code for you...
<SCRIPT LANGUAGE="Javascript"><!--
var ppcDate=new Date()
var ppcYear=ppcDate.getYear()
if (ppcYear < 1000)
ppcYear+=1900
var ppcDay=ppcDate.getDay()
var ppcMonth=ppcDate.getMonth()+1
if (ppcMonth<10)
ppcMonth="0"+ppcMonth
var ppcDayMonth=ppcDate.getDate()
if (ppcDayMonth<10)
ppcDayMonth="0"+ppcDayMonth
document.write("<font color='000000' face='Arial' size='2'><b>"+ppcDayMonth+"/"+ppcMonth+
"/"+ppcYear+"</b></font></small>")
//--></SCRIPT>
Bits you can change:
In the "document.write" statement, you can alter the font color (change the '000000' to the hex value of the colour you want) change the "face"= to whichever font you want and the size. If you're really clever, you can apply CSS styles using a "Class" statement.
It's as simple as that.
Enjoy!


