This is a homemade javascript widget that will display the day and date- see above my left column. Probably the easiest way to do this is to add it as an html/Javascript widget.
It can also be added after the body tag in your html code
Copy and paste the code below.
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(""+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"")
You will need to put a script and /script tag before it (greater and less than signs surrounding the script and /script)
We're giving away $150 to AMAZON!
-
It's time for another great giveaway!
*We're giving away $150 to AMAZON! *
[image: January Giveaway]
The cohosts and sponsors of this event are:
MyPoshMe...
7 years ago
0 comments:
Post a Comment