Work days counter on site

Quite often you need to show how many days the site is running.

This is necessary for websites representing the HYIP direction and some other investment projects.

A very simple script that will show how many days the site has been running since the launch.

The script can be set at any point of the <body>, where you want to place the counter, for example, like here.

Script:


<script type="text/javascript">
<!--
d0 = new Date('April 4, 2017'); // launching the site
d1 = new Date();
dt = (d1.getTime() - d0.getTime()) / (1000*60*60*24);
document.write('Working <B>' + Math.round(dt) + '</B> day');
-->
</script">

I wish you creative success.

This entry was posted in Free Scripts Ready Code. Bookmark the permalink.
А так же:

Leave a Reply

Your email address will not be published. Required fields are marked *