If you are looking for this, then you have come to the right place. This scrip is capable of automatically counting the days, months, and years. Unlike other scripts you may find that only counts the days and months, leaving you to manually insert the the year.
Auto date counter makes your website look more professional especially when you are around the news feed or any blog that makes people anticipate.
To add this script to blogger.
- Go to the layout in blogger dashboard
- Click Add a Gadget link
- Select HTML/Javascript
- Paste the below code into the box and Save your gadget
<script language="Javascript">
<!--
var dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
var monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
var now = new Date
document.write(dayName[now.getDay()] + ", " + monName[now.getMonth()] + " "+now.getDate() + ", " + now.getFullYear())
//-->
</script>
Checkout my other posts for tips and customization. Don't forget to use the share button as a thank you.
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.