Subscribe here now
to our "hot-hot" e-biz ezine and get great benefits

Your 1st Name
Your last name
Email Address
Home
BusinessOpps.
Contact
Freebies
Webmasters
Children
Subscribe
Services
WebHosting
EzineDirectory
Advertising
How to..
LinksToUs
Add Ezine
Add Links
SearchEngines
Nav Bars
Flash Wizard
Image Sizer
FreeSoftware
Shopping
Cards n Gifts
Prescriptions

top_50_banner




HOW TO PUT A DATE ON YOUR WEBPAGE

If you would like to put a date on your webpage just like what is shown above, here's how to do it:

Just copy and paste the code below on your page html source:

<CENTER><SCRIPTlanguage=JavaScript> 
<!-- Begin 

// Keep the follwingline down when you use this script 
// Found at the JavascriptLibary http://jslibrary.phiberoptix.com 
// More scripts areavailable there 

var day=""; 
var month=""; 
var myweekday=""; 
var year=""; 
mydate = new Date(); 
myday = mydate.getDay(); 
mymonth = mydate.getMonth(); 
myweekday= mydate.getDate(); 
weekday= myweekday; 
myyear= mydate.getYear(); 
year = myyear 
if(myday == 0) 
day = " Sunday, " 
else if(myday == 1) 
day = " Monday, " 
else if(myday == 2) 
day = " Tuesday, " 
else if(myday == 3) 
day = " Wednesday," 
else if(myday == 4) 
day = " Thursday," 
else if(myday == 5) 
day = " Friday, " 
else if(myday == 6) 
day = " Saturday," 
if(mymonth == 0) { 
month = "January "}
else if(mymonth ==1) 
month = "February" 
else if(mymonth ==2) 
month = "March " 
else if(mymonth ==3) 
month = "April " 
else if(mymonth ==4) 
month = "May " 
else if(mymonth ==5) 
month = "June " 
else if(mymonth ==6) 
month = "July " 
else if(mymonth ==7) 
month = "August " 
else if(mymonth ==8) 
month = "September" 
else if(mymonth ==9) 
month = "October " 
else if(mymonth ==10) 
month = "November" 
else if(mymonth ==11) 
month = "December" 
// End --> 
</SCRIPT>

<CENTER><TABLEBORDER=2 CELLSPACING=0 COLS=1 WIDTH="35%" BGCOLOR="#000099" >
<TR>
<TD><SCRIPT> 
document.write("<palign=center><font face=arial,helvitica><font color=ffffff><fontsize=-1>" + day + month); 
document.write(myweekday+ ", 200" + 1 + "</font>"); 
</SCRIPT>
</TD>
</TR>
</TABLE></CENTER>

You can change the following to your specifications:
BGCOLOR="#000099"
p align=center
font face=arial,helvitica
font color=ffffff
font size=-1

So if you wish to change for example:
BGCOLOR="FFFFFF"
p align=right
font face=Times New Roman
font color=000000
font size=+1

This is how your date would show on your page:

and if you change the p align to left, this is how your date will show on your page:
To get more of these kinds of stuff, subscribe at Resource-a-day.net.
CLICK HERE...IT'S FREE!