Thursday, November 10, 2011

Add date to your Blog/Website



Sat Apr 12 2025 14:22:38 GMT+0000 (Coordinated Universal Time)


Above is the example of that widget.

In this Article,i am gonna tell you,how to add an Date plugin on your Blog/Website.

Well adding an Date wigdet on your template seems to be pretty cool,below is the coding and the steps which are needed to be followed to add the wigdet.This coding is been developed by DB,and it comprises of javascript.

This widget not only tells you the date,but also the day,the correct time and the time zone you belong to.

Coding:


<head>
<script>
var now
now=Date()
</script>
</head>
<body>
<script>
document.write(now);
</script>
</body>


For Blogger:

1-Sign in to Blogger interface.

2-In the Layout option,choose "Add a Widget" wherever you want the time to be shown,and just add the above coding in the "HTML/Javascript" option.

For Wordpress:

1-Sign in to your Wordpress dashboard.

2-Choose widgets options then add a text widget,and in that Text widget,just paste the above coding.

For Normal Website:

1-Just paste the above coding after the tag start and before it gets closes.

0 comments:

Post a Comment