Show Current Date in Blog

Use this script to write the current date to your Blog or web page. Looks very professional. Another very neat effect - some great Scripting!In this post, I will show you how to add the current date to your blog so that you can apply this hack to that template and other templates as well.

1. Login to Blogger then Chose "Layout"

2. Click on "Add page element" (chose where you want to put it) then chose "HTML/Javascript"
3. Copy the code given below and put it in the "Configure HTML/JavaScrip" box.
4. Save Your Work and Refresh Your Blog For New Changes




<!--www.blogtechworld.com-->
<script type="text/javascript">
var mydate= new Date()
var theyear=mydate.getFullYear()
var themonth=mydate.getMonth()+1
var thetoday=mydate.getDate()
document.write("Today's date is: ")
document.write(theyear+"/"+themonth+"/"+thetoday)
</script>
<!--www.blogtechworld.com-->

Note :- Adjust Size of Font as Per Your Choice

No comments:

Post a Comment

Thanks For Your Comment. You can also reach me at my mai Id :- blogtips.frd@gmail.com