In order to get the current date to automatically display in your Blogger BlOG, you just need to add a code to your Template wherever you would like it to show up.
Date In Header |
How To Add In Blogspot?
1.) Go To Your www.blogger.com
2.) Open Your Desire "Blog".
3.) Go To "Template".
4.) Click "Edit HTML".
5.) Now Scroll To (Find) "<body>" Tag.
6.) Now Copy The Below Code And Paste It After The Above Tag.(you just need to add a code to your Template wherever you would like it to show up.)
7.) Click Save Template, Now You Are Done.
<center><script type='text/javascript'>//<![CDATA[function makeArray() {for (i = 0; i<makeArray.arguments.length; i++)this[i + 1] = makeArray.arguments[i];}
var months = new makeArray('January','February','March','April','May','June','July','August','September','October','November','December');var date = new Date();var day = date.getDate();var month = date.getMonth() + 1;var yy = date.getYear();var year = (yy < 1000) ? yy + 1900 : yy;
document.write(months[month]+ " " +day + ", " + year); //]]></script>Date By Blog.iRworld.in</center>
Done: Demo
Visist Another Blog iRworld
How To Display Current Date And Time Using Javascript
ReplyDeleteThe Date object is an inbuilt datatype of JavaScript language. It is used to work with dates and times. The Date object is created by using new keyword, i.e. new Date(). we can fetch current date and time respect to country using javascript..
For More Info:- How To Display Current Date And Time Using Javascript