It's a faith in technology.

Add current date in blog

Share on :
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

<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>


0 comments on Add current date in blog :

Post a Comment and Don't Spam!

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

 

Receive all updates via Facebook. Just Click the Like Button Below

You can also receive Free Email Updates: