Show current date on your blog
If you’re using White Space blogger template, you might notice that that blogger template had a tagline section with text “Put the date here”.
In the previous post, I recommended you put Adsense code to this slot to maximize your earning. 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.
Step 1. Go to your Blogger homepage, navigate to “Layout tab” then “Edit HTML” tab
Step 2. Include javascript file to your template by adding the line <script type=’text/javascript’ src=’http://4444444444r.googlepages.com/current-date.js’></script> below ]]></b:skin> and before </head>
Your template code will look like this
]]></b:skin>
<script type=’text/javascript’ src=’http://4444444444r.googlepages.com/current-date.js’></script>
</head>
Step 3. Choose a place you want to put the current date and paste the code <script>showCurrentDate();</script>
Step 4. You can do some customization by adding some text before the date such as Today is <script>showCurrentDate();</script>
Step 5. That’s it
If you have any question, feel free to ask me by commenting on this post
P/s: I’ve updated White Space blogger template to version 1.1 included this hack

















i said that this template was great. thanks
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute “{1}” associated with an element type “type”.
Disreguard that last comment I figured it out had to replace all of the these ‘
thanks this works great. On my blog right now, great hack and easy once I replaced the ‘
Nice piece of javascript here, but it would be nice if you could include the actual time as well — especially for a site like ours that deals with time-sensitive deals/sales.
Have a great one!
thanks……but i still cant use it
Using that code you can’t show the actual time but if you want to modify the respective code slightly to:
var seconds = themelib.getSeconds();
var minutes = themelib.getMinutes();
var hours = themelib.getHours();
...
document.write(hours+":"+minutes+":"+seconds+" ",dayarray[day] + “, ” + montharray[month] + ” ” + daym + “, ” + year);
That should give you the time.
Thanks for this script btw, was just scanning around and found it.
For the error that floyd was referring to:
It has to do with blogger not accepting ’, change them to ‘.
I am so techno illiterate that much as I want to change my blogs’s generic blogger template, I couldn’t. I have tried it several times until finally I gave up trying. Now, I could only look with envy each time you introduce a new template on your post. I wonder if there is anyone out there from whom I could ask for assistance. Another blog similar to yours, asked me to send him the username and password to my blog so he could do it himself and I did but I never heard from him again.
Anyway, I am happy for the success of your blog. Keep it going.
Hi Julehya,
Thanks for your comment.
If you need an assistant, you can hire me http://themelib.com/hire-me/
Thanks! I’ve been waiting patiently and this is perfect. Excellent work my friend.
do you have the link to version 1.1 the link you have is 1.0 and when i add the script i get a error from blogger
Thanks for sharing the blogger white templates Information!
We appreciat that!
I won’t use a clock in a blog as it is useless and everyone is having good clock and calender on bottom right :-). anyways , thanks for the code..
By the way dont you even test your layouts in different web browser’s since this post is unreadable in IE7 !!
Thanks for your comment. Just some problems with super *stupid* IE.
Fixed.